A canary rollout with analysis checks the new version before it goes live. If the analysis fails, Rollouts aborts and keeps the stable version running. Argo CD then reports Synced (Git is applied) and Degraded (the rollout was aborted).
Symptom
argocd app get notes-rollout | grep -E "Sync Status|Health Status" Sync Status: Synced to main (af44734) Health Status: Degraded
The application keeps running the old version – customers notice nothing, but the status stays red.
Diagnosis
The rollout's message names the metric and the limit.
kubectl argo rollouts get rollout notes -n notes-rollout | sed -n 1,16p Name: notes Namespace: notes-rollout Status: ✖ Degraded Message: RolloutAborted: Rollout aborted update to revision 4: Step-based analysis phase error/failed: Metric "notiz-anlegen" assessed Failed due to failed (1) > failureLimit (0) Strategy: Canary Images: ghcr.io/thomaszachmann/notes-api:0.7.1 (stable)
Causes
AnalysisRunThe analysis rejected the new version
The analysis job created a note with the real key and got 401. Rollouts removed the canary pod; all pods run the old version.
Git ≠ ClusterGit describes the broken version
Synced and Degraded at the same time: Argo CD applied Git, but the rollout refuses the version. The state remains until someone fixes Git.
Fix
git revert --no-edit HEAD git push argocd app get notes-rollout --refresh argocd app get notes-rollout | grep -E "Sync Status|Health Status" Status: ✔ Healthy Sync Status: Synced to main (af0008e) Health Status: Healthy
Don't: Forcing the rollout with kubectl argo rollouts promote. That ships exactly the version the analysis identified as broken.
GitOps with Argo CD hands-on, day 13: canary and blue-green with Argo Rollouts, analysis with real requests.
Go to day 13 →
FAQ
Why does the Application stay Degraded?
Because Git still describes the rejected version. Only when Git and the running version match does it become Healthy again.
How do I notice such an abort?
With a notification on on-health-degraded or an alert on health_status="Degraded" from the Argo CD metrics.