Log into Pod
Find the DN pod you wish to log into. If the pod is in a 3/3 ready state, execute the following command to log in:
kubectl exec -it {pod name} bash
If the DN pod is being continuously restarted due to liveness probe failure, run the following command to turn off the liveness probe before logging in:
kubectl annotate pod -l polardbx/role=dn runmode=debug
Enter MySQL Command
Execute the myc
command to enter.