menu
techminis

A naukri.com initiative

google-web-stories
Home

>

Devops News

>

Troublesho...
source image

Dev

2w

read

412

img
dot

Image Credit: Dev

Troubleshooting | Kubernetes

  • Pods stuck? - Use 'kubectl get pods -A' to check status and 'kubectl describe pod ' to dig into events. Also, check container logs using 'kubectl logs --previous'.
  • Nodes Not Ready? - Identify unhealthy nodes with 'kubectl get nodes', check node details with 'kubectl describe node ', and verify kubelet/docker service status by SSH into the node.
  • Service Not Routing Traffic? - Ensure endpoints match your service’s label selector using 'kubectl get endpoints' and confirm ClusterIP/NodePort is set correctly with 'kubectl get svc'.
  • DNS Issues? - Test cluster DNS resolution by running 'nslookup ' inside a pod.

Read Full Article

like

24 Likes

For uninterrupted reading, download the app