Chapter 96: Flux GitOps — Sources, Reconciliation and Safe Local Practice
96.16 Release review, rollback and managed ownership
Fictional teaching story. At a fictional Latur centre, Mira and Oscar learn that returning a configuration reference does not restore a deleted database.
Why
A rollback story needs to explain configuration, application behaviour and data separately.
What
Use reviewed revision changes without promising universal recovery.
How
Configuration rollback means reviewed desired-state change
A rollback returns to an earlier intended configuration or release state. In GitOps this often means a reviewed revert or new commit that restores selected desired fields. It is not automatically a data restore.
Immediate practice example
- Read the example from top to bottom. Do not send it to a real cluster.
Before: desired image reference demo-2
Reviewed recovery intent: desired image reference demo-1
Observe: reconciled revision, rollout health, user-facing result
- Read the expected result.
Illustrative output: not executed by Flux, kubectl, Helm or Kubernetes.
A reverted reference still needs reconciliation and health verification.
- Understand each line in plain English.
The first line describes the current reference. The second describes a reviewed change, not an executed Git command. The third lists evidence after any real change. Database migrations, removed resources and external side effects may not reverse safely just because a reference changed.
One field should have a deliberate owner
Ownership describes which controller or actor manages a field or resource. Competing reconcilers can fight if both continuously write the same desired fields.
Immediate practice example
- Read the example from top to bottom. Do not send it to a real cluster.
Flux desired colour: blue
Another reconciler desired colour: red
Observed result: repeated changes are possible
- Read the expected result.
Illustrative output: not executed by Flux, kubectl, Helm or Kubernetes.
Conflicting ownership can create oscillation instead of stable reconciliation.
- Understand each line in plain English.
The first two lines express conflicting intent. The final line is a possible consequence, not a measured incident. Review the actual managed fields, controller scope and inventory. Do not “fix” the conflict by blindly disabling a shared production controller; establish ownership through the platform’s approved process.
Ravindra Bagale's Tip
A configuration revert is not a backup restore or a business recovery proof.
Configuration revert म्हणजे backup restore किंवा business recovery चा पुरावा नाही.
Configuration revert backup restore या business recovery का प्रमाण नहीं है.
Did you understand? Let us try it once more.