Reconciler error connection refused

Hello @allenw ,

why do you do

kubectl delete perconaxtradbcluster cluster1
kubectl apply -f deploy/cr.yaml

instead of just

kubectl apply -f deploy/cr.yaml

?

You are first deleting the cluster and then applying the new cluster with the same name, while k8s objects are still removing. Hence you get the errors.
If you want to change the configuration, you don’t need to delete the PXC object, it is enough to apply the changes.

1 Like