Argo CD shows the `payments` app permanently `OutOfSync` and self-heal keeps fighting: replicas jump between 3 and 12 every few minutes.
IntermediateTroubleshootingPipeline outages
Answer
Likely causes → Two controllers own the same field. The manifest in Git sets replicas: 3, the HPA scales to 12, and Argo CD's self-heal resets it to 3, which the HPA undoes again. The same pattern happens with mutating webhooks or operators that add fields.
Diagnose →
argocd app diff payments
kubectl get hpa -n payments
argocd app get payments -o json | jq '.status.resources[] | select(.status=="OutOfSync")'
Fix → Remove replicas from the Deployment manifest when an HPA manages it, or tell Argo CD to ignore the field:
spec:
ignoreDifferences:
- group: apps
kind: Deployment
jsonPointers: [/spec/replicas]
syncPolicy:
syncOptions: [RespectIgnoreDifferences=true]
Prevent → A rule in chart reviews: if an HPA exists, the template doesn't render replicas.
More on Pipeline outages
Every GitHub Actions job in the org sits at "Waiting for a runner to pick up this job..." for 30 minutes.BeginnerJenkins builds on one agent fail with "java.io.IOException: No space left on device" while checking out code.BeginnerA deploy workflow that worked yesterday fails at `aws-actions/configure-aws-credentials` with "Not authorized to perform sts:AssumeRoleWithWebIdentity".IntermediateEvery pipeline in the company fails at the dependency step with "npm ERR! 503 Service Unavailable" (or PyPI/Maven timeouts) because an upstream registry is having an outage.Intermediate`terraform apply` in CI fails with "Error acquiring the state lock: ConditionalCheckFailedException" and shows a lock from a pipeline run that was cancelled two hours ago.BeginnerAfter GitHub moved `ubuntu-latest` to a new Ubuntu release, 30% of pipelines started failing with missing tools or changed versions.Intermediate