Skip to content
_CORE
AI & Agentic Systems Core Information Systems Cloud & Platform Engineering Data Platform & Integration Security & Compliance QA, Testing & Observability IoT, Automation & Robotics Mobile & Digital Banking & Finance Insurance Public Administration Defense & Security Healthcare Energy & Utilities Telco & Media Manufacturing Logistics & E-commerce Retail & Loyalty
References Technologies Blog Know-how Tools
About Collaboration Careers
CS EN DE
Let's talk

Kubernetes Troubleshooting: Complete Flowchart

26. 05. 2024 1 min read intermediate

Pod not working? Here is a systematic troubleshooting flowchart.

Pod Not Starting

kubectl describe pod kubectl get events –sort-by=.lastTimestamp

Look at the Events section. Most common causes:

  • ImagePullBackOff — wrong image name or registry credentials
  • Pending — insufficient resources, node selector/affinity
  • Init:Error — init container failed

CrashLoopBackOff

kubectl logs –previous kubectl describe pod

  • Application error (check the logs)
  • Missing config/secret
  • Health check failing too quickly

Networking

kubectl run debug –rm -it –image=nicolaka/netshoot – /bin/bash

Kubernetes Troubleshooting: Complete Flowchart

  • Service has no endpoints? → Check label selector
  • DNS not working? → nslookup svc.namespace.svc.cluster.local
  • NetworkPolicy blocking traffic?

Storage

kubectl get pv,pvc

  • PVC Pending → StorageClass doesn’t exist or has no provisioner
  • Volume mount error → Check permissions

Autoscaling

kubectl get hpa kubectl describe hpa

Procedure

describe pod → events → logs → exec into pod → network debug container.

kubernetestroubleshootingdevops
Share:

CORE SYSTEMS team

We build core systems and AI agents that keep operations running. 15 years of experience with enterprise IT.