Bird
0
0

How does Kubernetes handle a manual change to a pod that conflicts with the Deployment's desired state?

hard📝 Application Q9 of 15
Kubernetes - Fundamentals
How does Kubernetes handle a manual change to a pod that conflicts with the Deployment's desired state?
AIt reverts the pod to match the Deployment's desired state
BIt accepts the manual change permanently
CIt deletes the Deployment automatically
DIt pauses the reconciliation loop
Step-by-Step Solution
Solution:
  1. Step 1: Understand reconciliation with manual changes

    Kubernetes detects differences between actual and desired state caused by manual edits.
  2. Step 2: Reconciliation action on conflict

    It reverts the pod to the desired state defined by the Deployment, overriding manual changes.
  3. Final Answer:

    It reverts the pod to match the Deployment's desired state -> Option A
  4. Quick Check:

    Manual conflict -> Kubernetes reverts pod [OK]
Quick Trick: Manual pod changes get overwritten by reconciliation [OK]
Common Mistakes:
  • Thinking manual changes persist
  • Assuming Deployment is deleted
  • Believing reconciliation pauses

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes