advancedCI/CD & GitOps: Jenkins, GitHub Actions & ArgoCD

After enabling selfHeal, on-call engineer patches replicas via kubectl during a traffic spike -- ArgoCD reverts it

This is exactly correct selfHeal behavior. The right approach is committing the replica change to the GitOps config repo so ArgoCD sees it as the new desired state and applies it durably. Manual kubectl changes are not durable in a selfHeal-enabled GitOps setup.

This is a Pro chapter

Sign in, then upgrade to Pro or Power to unlock this and the full DevOps Mastery library.

After enabling selfHeal, on-call engineer patches replicas via kubectl during a traffic spike -- ArgoCD reverts it

Next Step

Continue to CI commits image tag update to GitOps repo but ArgoCD shows app as OutOfSync 15 minutes later← Back to all Kubernetes questions