Closed leon0204 closed 1 year ago
Hi @leon0204,
Do you have an old volume of MySQL or is it a clean installation?
Hi @leon0204,
Do you have an old volume of MySQL or is it a clean installation?
it a new clean installation. Is my operating method correct? Is it a writing error in values. yaml or a problem running the command? Why the container cannot run 。
Hi @leon0204,
Please check that you don't have any PVC from other installations, this type of installation doesn't remove the PVC by default.
Can you please update the last version of the containers
helm repo update
Problem: I encountered the exact same problem, and finally found a solution after two days of trouble.
Check the log: The problem may be caused by NFS. You can use dmesg to check the NFS server and node machine logs, which will display many NFS-related logs.
How to solve: Finally, I redeployed my K8s NFS Provisioner service, added the following parameters and finally solved it.
Reference link: https://github.com/helm/charts/issues/21731 https://github.com/bitnami/containers/issues/44854
mountOptions:
- vers=4
But I haven't understood it in depth yet, I hope someone else can give some answers.
Name and Version
bitnami/mysql 9.3.4 8.0.30
What architecture are you using?
None
What steps will reproduce the bug?
when i --- kubectl exec -it mysql-8-primary-0 bash and mysqld
Are you using any custom parameters or values?
No response
What is the expected behavior?
No response
What do you see instead?
run cmd:
helm install mysql-8 bitnami/mysql --set auth.rootPassword=Qqq123 --set primary.startupProbe.enabled=false --set primary.readinessProbe.enabled=false --set primary.livenessProbe.enabled=false --set secondary.replicaCount=1 --set secondary.startupProbe.enabled=false --set secondary.readinessProbe.enabled=false --set secondary.livenessProbe.enabled=false -f values.yaml
values.yaml
Additional information
No response