Going through these basic troubleshooting steps should help you as an application developer identify where a problem may lie. If any of these steps do not give the expected "fine" output, use
kubectl describe to investigate.
If you are using Lens instead of the
kubectl command-line interface, clicking through your Deployments and Pods will reveal the same information as the commands given below.
Is the Kubernetes cluster fine?¶
All Nodes need to have status
kubectl get nodes
Are my application Pods fine?¶
Pods should be
Completed, and fully
kubectl get pods
Check your Pods for excessive resource usage:
kubectl top pod
Are my Deployments fine?¶
Are all Deployments fine? Deployments should show all Pods Ready, Up-to-date and Available (e.g.,
2/2 2 2).
kubectl get deployments
Are Helm Releases fine?¶
All Releases should be
helm list --all
Are my Certificates fine?¶
All Certificates needs to be Ready.
kubectl get certificates