Menu

1 / 3

I ran kubectl rollout undo. Argo CD brought the faulty release back.

DEV Community: kubernetes·Rafa Terrero·3 days ago
#gVADnleV
#devtokubernetes#devto#dev#argo#good
Long article (1447 words) — no AI summary yet.
Reading 0:00
15s threshold

The terminal said rolled back . The next time I read the Deployment, its image was faulty .

In my first Kubernetes readiness lab, a new Pod failed its readiness check while the previous replica kept serving requests. I restored the previous Pod template with kubectl rollout undo . A reader asked what would happen if a GitOps controller were still watching a manifest that declared the faulty release. I answered that I would normally revert in Git first. This time I put that answer to the test. Original Kind experiment · Reader’s question · My reply

TL;DR

In Kind, I ran a live undo with Argo CD self-healing enabled. Git still declared faulty . My next Deployment read showed faulty again, and Argo CD reported a successful automatic sync for the same commit.

A Git revert created a new commit declaring good . Once the repository served that commit, Argo CD synced it, the rollout completed, and the Service returned HTTP 200 from good .

The same Service had also returned 200 during the failed rollout.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.