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.
More on ApplicationSets, Rollouts & Image Updater
The ApplicationSet status shows `ApplicationSet argocd/team-apps contains applications with duplicate name: web`.Beginner`ApplicationGenerationFromParamsError: failed to execute go template ...: map has no entry for key "cluster"`.IntermediateA git outage made the git generator return nothing, and the ApplicationSet deleted all its Applications and their workloads.AdvancedManual edits to an Application owned by an ApplicationSet (for example a changed `targetRevision`) keep getting reverted.BeginnerA newly registered cluster gets no Applications from a cluster-generator ApplicationSet.IntermediateThe SCM provider generator stops discovering repos, with `GET https://api.github.com/orgs/org/repos: 403 API rate limit exceeded`.Intermediate