CompTIA Cloud+ (CV0-004)DevOps FundamentalsMedium
In a Kubernetes cluster, an administrator edits a deployment manifest to scale replicas from 3 to 5. Without further manual intervention, the control plane automatically creates two additional pods until the running state matches the manifest. Which orchestration concept does this illustrate?
- AReconciliation loop maintaining desired state
- BContinuous integration pipeline
- CConfiguration drift
- DGit branching strategy
Show answer & explanationAnswer & explanation
Correct answer: A. Reconciliation loop maintaining desired state
Kubernetes controllers continuously compare the actual cluster state to the desired state defined in manifests and take corrective action to reconcile any differences, a process known as the reconciliation loop. This is a core orchestration mechanism, not CI, version control, or drift.
Why the other options are wrong
- B. Continuous integration relates to building/testing code, not runtime cluster state management.
- C. Configuration drift describes unwanted divergence from desired state, the opposite of what's being corrected here.
- D. Git branching strategy concerns version control workflows, unrelated to pod scaling behavior.
Reconciliation Loop
An orchestration mechanism where a controller continuously observes the current state, compares it to the desired state, and takes corrective action to align them.
- Core mechanism in Kubernetes controllers
- Enables self-healing infrastructure
- Automatically corrects deviations from manifest-defined state
Memory trick: Kubernetes is a thermostat: it keeps checking and adjusting until the room matches the set temperature.