Interview Prep/Kubernetes/Helm, operators and GitOps

Argo CD sync fails with `one or more objects failed to apply`. How do you debug?

IntermediateScenarioHelm, operators and GitOps
Answer

Situation read → A sync runs, then fails with a validation error.

What I'd do →

  1. argocd app get web and argocd app sync web --dry-run
  2. Read the resource-level message in the UI or CLI
  3. Common causes: CRD not yet installed, namespace missing, immutable field changes, admission denial
  4. Use sync waves and CreateNamespace=true
  5. Check controller logs: kubectl -n argocd logs deploy/argocd-application-controller

Why → Ordering and validation errors are the usual reasons, and waves control order.

Interview tip → Mention SkipDryRunOnMissingResource.

All Kubernetes questions Roadmap: Platform engineering

More on Helm, operators and GitOps