Preparing for a DevOps interview that covers Argo CD? These questions come up again and again - here are strong, concrete answers.
Q: What is Argo CD and why use it?
Argo CD is a Kubernetes controller that continuously compares the live cluster to manifests in Git and syncs any drift, giving you declarative, auditable, self-healing deployments.
- Git becomes the single source of truth for what runs in the cluster
- Automatic drift detection and self-healing back to the declared state
- A clear UI and history of every sync, with one-click rollback
Q: What are the best practices you follow?
- Adopt app-of-apps to manage many Applications declaratively
- Enable selfHeal + prune so the cluster always matches Git
- Use Sealed Secrets/SOPS so secrets can live safely in Git
Q: What mistakes have you seen?
- Letting people kubectl apply straight to the cluster, causing endless drift
- Auto-sync without prune, leaving orphaned resources behind
- Storing plaintext secrets in the Git repo
Q: Show a basic configuration
An Application that tracks a Git path and self-heals.
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata: { name: web, namespace: argocd }
spec:
project: default
source:
repoURL: https://github.com/acme/deploy.git
targetRevision: main
path: apps/web
destination:
server: https://kubernetes.default.svc
namespace: web
syncPolicy:
automated: { prune: true, selfHeal: true }
syncOptions: [CreateNamespace=true]Want senior help putting Argo CD to work - or a team bootcamp on it? CodeWizard runs Israel's largest DevOps community and embeds named senior engineers with a transparent hours log. Book a free consult or explore the Academy.