If you update a Deployment's replica count from 3 to 5, how does the reconciliation loop respond?
The Kubernetes reconciliation loop ensures that the actual state of a resource matches the desired state defined in its manifest. If the replica count of a Deployment is changed from 3 to 5, option B is correct: Kubernetes will automatically create two new Pods to satisfy the new desired replica count.
Option A is incorrect because Deployments are not deleted; they are updated in place. Option C contradicts Kubernetes' declarative model---no manual intervention is required. Option D is wrong because Kubernetes does not restart existing Pods unless necessary; it simply adds additional Pods.
This reconciliation process is core to Kubernetes' declarative infrastructure approach, where desired states are continuously monitored and enforced. It reduces human toil and ensures consistency, making it fundamental for platform engineering practices like GitOps.
--- CNCF Kubernetes Documentation
--- CNCF GitOps Principles
--- Cloud Native Platform Engineering Study Guide
Sherron
3 months agoTresa
3 months agoCarlton
3 months agoNancey
4 months agoDierdre
4 months agoAleshia
4 months agoGene
4 months agoBilly
4 months agoGlen
5 months agoWilson
5 months agoBok
5 months agoShenika
5 months agoSlyvia
5 months agoTamera
5 months ago