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 →
kubectl describe podand look forReadiness probe failedeventskubectl logsto see whether the app started and on what port- Check the probe path and port against the container
containerPort kubectl execandcurl localhost:8080/healthzfrom inside- 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.
More on Deployments and rollouts
You applied a new image tag and the rollout seems stuck at "1 out of 3 new replicas have been updated". What do you check first?BeginnerHow do you roll back a bad release and verify you are back on the previous version?BeginnerA rollout must never reduce capacity below current replicas. How do you configure the strategy?IntermediateYou need a blue/green deployment without a service mesh. How do you do it with plain Kubernetes?IntermediateHow would you do a canary release with only Deployments and a Service?IntermediateWhat is the difference between Recreate and RollingUpdate strategies and when would you pick Recreate?Beginner