Kubernetes and Cloud Native Associate (KCNA)Cloud Native ArchitectureEasy
A cloud-native application relies on a configuration management system where the desired state of the system is stored in a version-controlled repository. An automated agent continuously observes the actual state of the running system and compares it to the desired state in the repository. If any discrepancies are found, the agent automatically takes action to bring the actual state into alignment with the desired state. What is this automated process called?
- AReconciliation
- BContinuous Delivery
- CDeployment Pipeline
- DContinuous Integration
Show answer & explanationAnswer & explanation
Correct answer: A. Reconciliation
Reconciliation is the core process in systems like GitOps where an automated agent continuously compares the live state of a system with its declared desired state (often in a Git repository) and automatically adjusts the live system to match the desired state.
Why the other options are wrong
- B. Continuous Delivery (CD) focuses on automating the release process, ensuring software can be deployed at any time.
- C. A Deployment Pipeline is a series of automated steps to get code from version control to production, which includes many stages, but 'reconciliation' describes the specific continuous state-matching mechanism.
- D. Continuous Integration (CI) focuses on merging developer code changes frequently and running automated tests.
Reconciliation (GitOps)
The automated process in GitOps where a system agent continuously observes the actual state of a cluster or environment and compares it against the desired state defined in a Git repository, then automatically remediates any differences.
- Core mechanism of GitOps.
- Ensures desired state matches actual state.
- Automated and continuous.
- Corrects configuration drifts.
Memory trick: Reconcile means to resolve the difference.