Great point! and that's exactly the kind of failure mode that deserves more attention.
My preference would be Git-first whenever possible: revert the problematic change in the source of truth and let the GitOps controller reconcile the desired state.
For time-critical recovery, though, I'd take a different approach:
Temporarily suspend reconciliation for the affected application.
Perform a controlled rollback to the known-good version.
Update Git to reflect that version.
Verify application health and business-level functionality.
Resume reconciliation and confirm that desired and live states converge.
Otherwise, the next reconciliation could undo the recovery.
One important distinction: the lab behind this article used a plain Kind Deployment without Argo CD or Flux, so this is an operational recommendation rather than a behavior I tested in the experiment.
The key principle: a rollback isn't complete until both the running workload and its declared source of truth agree.
Thanks for raising this @sudokat_ . It's a valuable GitOps-specific addition to the discussion.
We're a place where coders share, stay up-to-date and grow their careers.
Great point! and that's exactly the kind of failure mode that deserves more attention.
My preference would be Git-first whenever possible: revert the problematic change in the source of truth and let the GitOps controller reconcile the desired state.
For time-critical recovery, though, I'd take a different approach:
Otherwise, the next reconciliation could undo the recovery.
One important distinction: the lab behind this article used a plain Kind Deployment without Argo CD or Flux, so this is an operational recommendation rather than a behavior I tested in the experiment.
The key principle: a rollback isn't complete until both the running workload and its declared source of truth agree.
Thanks for raising this @sudokat_ . It's a valuable GitOps-specific addition to the discussion.