Interview Prep/Kubernetes/Deployments and rollouts

A Deployment shows READY 0/3 but the image is fine. What are the quick checks?

BeginnerScenarioDeployments and rollouts
Answer

Situation read → The pods are Running but not Ready.

What I'd do →

  1. kubectl describe pod and look for Readiness probe failed events
  2. kubectl logs to see whether the app started and on what port
  3. Check the probe path and port against the container containerPort
  4. kubectl exec and curl localhost:8080/healthz from inside
  5. Fix the probe or the app, then re-apply

Why → Running means the container process is alive; Ready means the readiness probe passes. Services only send traffic to Ready pods.

Interview tip → Describe the difference between liveness, readiness and startup probes clearly.

All Kubernetes questions Roadmap: Kubernetes core

More on Deployments and rollouts