The Percona Xtradb Cluster not starting completly on linode and minikube with nodes=3
The Percona Xtradb Cluster operator v1.8.0 not starting completly on linode and minikube with --cni=calico --nodes=3
The Pods cluster1-haproxy-0 and cluster1-pxc-0 restarts infinitely
Readiness probe failed: ERROR 2003 (HY000): Can't connect to MySQL server on 'my-db-pxc-db-pxc-0' (111) + [[ '' == \P\r\i\m\a\r\y ]] + exit 1
Readiness probe failed: ERROR 2013 (HY000): Lost connection to MySQL server at 'reading initial communication packet', system error: 2 Back-off restarting failed container
I'm doing the same way on there https://cloud.digitalocean.com/
Everything works fine, Percona Xtradb Cluster is working, you can make a backup copy easy
<img alt="2021-06-28-20-57-57.png" src="https://i.postimg.cc/rszYKJVn/2021-06-28-20-57-57.png">
I make backup
kubectl apply -f deploy/backup/backup.yaml
What is wrong with minicube and linode?
minikube start with calico and additions nodes
minikube start --driver=virtualbox --disable-driver-mounts --cpus=12 --memory=16096 --network-plugin=cni --cni=calico --nodes=3
if I'm starting minikube by the following command
without additions nodes
minikube start --cpus=12 --memory=16096 --network-plugin=cni --cni=calico
or without --cni=calico
minikube start --driver=virtualbox --disable-driver-mounts --cpus=12 --memory=16096 --nodes=3
Percona Xtradb Cluster is working but I can't make backup
@selukov-ms I don't have a great answer for why it was failing, as I was seeing a similar issue with v1.8.0 of the Percona XtraDB Operator a few months ago. But I was just doing some testing with one of my personal LKE clusters and was able to follow the steps in the Install Percona XtraDB Cluster on Kubernetes for v1.10.0 guide from Percona's documentation and successfully created a 3-replica XtraDB cluster.
Only thing you'll want to note is that due to the default limits/requests on the pxc pods, you'll want to use a node pool that contains at least 3 8GB Linodes or else the deployment may not be able to complete.