Interview Prep/GitOps & Argo CD/ApplicationSets, Rollouts & Image Updater

A Rollout aborts with `RolloutAborted: Rollout aborted update to revision 7: Metric "success-rate" assessed Failed due to failed (3) > failureLimit (2)`.

IntermediateTroubleshootingApplicationSets, Rollouts & Image Updater
Answer

Likely causes → Either the new version really is bad (good, the system worked), or the query is wrong: it returns empty or NaN during low traffic, uses the wrong label for canary pods, or the threshold is unrealistic.

Diagnose →

kubectl -n web get analysisrun
kubectl -n web describe analysisrun <name>     # shows each measurement value

Run the PromQL manually in Prometheus for the same window.

Fix → If the release is bad, fix and push a new image. If the query is wrong, handle empty results (... or vector(1) with care) and scope by rollouts-pod-template-hash.

Prevent → Test analysis templates against historical data and require a minimum request count before judging.

All GitOps & Argo CD questions Roadmap: Argo CD (GitOps)

More on ApplicationSets, Rollouts & Image Updater