Issue while installing Percona XtraDB Cluster on Kubernetes

Followed: Install Percona XtraDB Cluster on Kubernetes

This very first pxc pod is stuck on its 3rd container:

$ kubectl get pods
cluster1-pxc-0 2/3 Running 1 7m40s

$ kubectl describe cluster1-pxc-0
Warning Unhealthy 3m6s (x19 over 12m) kubelet Readiness probe failed: mysql: [Warning] World-writable config file ‘/etc/my.cnf’ is ignored.
mysql: [Warning] World-writable config file ‘/etc/my.cnf’ is ignored.
ERROR 1045 (28000): Access denied for user ‘clustercheck’@‘localhost’ (using password: YES)
+[[ ‘’ == \P\r\i\m\a\r\y ]]
+exit 1

No changes in yamls were made.

Please suggest what can be the issue!

1 Like

Hello @IAtheist ,

I have tried to reproduce the issue, but it worked for me - the cluster is up and running with default cr.yaml.

I have a feeling that you missed the step # 5 where Secrets are created. Could you please check?

Is there anything specific about your Kubernetes environment?

2 Likes