Bird
0
0

A Kubernetes deployment is not updating pods after you apply a new image version. Which troubleshooting steps should you take to find the root cause?

hard📝 Workflow Q15 of 15
Kubernetes - Troubleshooting
A Kubernetes deployment is not updating pods after you apply a new image version. Which troubleshooting steps should you take to find the root cause?
ARestart the kubelet service on all nodes.
BImmediately delete all pods to force recreation.
CCheck deployment status with <code>kubectl rollout status deployment/<name></code> and describe the deployment.
DRun <code>kubectl exec</code> on pods to manually update the image.
Step-by-Step Solution
Solution:
  1. Step 1: Verify rollout status

    Use kubectl rollout status to check if deployment is progressing or stuck.
  2. Step 2: Describe deployment for events and errors

    kubectl describe deployment shows events like image pull errors or update failures.
  3. Final Answer:

    Check deployment status with kubectl rollout status deployment/<name> and describe the deployment. -> Option C
  4. Quick Check:

    Rollout status + describe = find update issues [OK]
Quick Trick: Check rollout status and describe deployment first [OK]
Common Mistakes:
  • Deleting pods without understanding cause
  • Restarting kubelet without evidence
  • Trying to update image inside pods manually

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes