5.[preliminary debug] If the deployment of some pods fails, how to perform a preliminary analysis
- You can run the following command to check the logs of the pods.
sudo microk8s kubectl logs vss-vss-deployment-POD-NAME
sudo microk8s kubectl describe pod vss-vss-deployment-POD-NAME
- You can check the problem by directly enter the pod with the following command
sudo microk8s.kubectl exec -it vss-vss-deployment-POD-NAME -- /bin/bash
You can analyze the problem according to the log info, or post the log to your topic.