Log
Logs provide valuable information. It makes sense to check the logs of the database Pods and the Operator Pod. Following flags are helpful for checking the logs with the kubectl logs command.
Procedure
- Check all related pods of the instance, including pxc pod and proxysql pod.
kubectl get pod -n <namespace> -l "middleware.instance/name=<name>"
- View log queries for a specific pod
kubectl logs -n <namespace> <pod>