Information Technology
ArgoCD Interview Questions & Answers
Prepare for your ArgoCD interview with 201+ curated questions and answers, organised into 7 topics from beginner to advanced. Each topic also has tutorials and MCQ practice.
App of Apps
All 28 questions- What is the App of Apps pattern? Beginner
App of Apps is a pattern where a single parent (root) Application deploys other Application resources instead of workloads. The parent points at a Git path containing child Applica…
- Why use the App of Apps pattern? Beginner
It centralizes bootstrapping: one root app installs and manages a whole platform or environment's set of applications, giving a single sync point, easy disaster recovery (recreate…
- How does App of Apps differ from ApplicationSets? Intermediate
App of Apps stores an explicit Application manifest per child in Git (static list you maintain). ApplicationSets generate Applications dynamically from generators (clusters, Git di…
Annotate the child Application resources with sync waves so the parent applies them in order (e.g., infra/CRDs before workloads). Since the parent sync applies the Application CRs,…
Install ArgoCD, then apply a single root Application that references a Git directory of child apps covering platform components (ingress, monitoring, cert-manager, secrets) and wor…
Applications
All 29 questions- What is an ArgoCD Application? Beginner
An Application is a custom resource (CRD) that represents a deployed app in ArgoCD. It declares the source (Git repo, path, revision, or Helm chart), the destination (cluster and n…
The source defines where the desired manifests come from: repoURL, path (for plain/Kustomize/Helm-in-repo), and targetRevision (branch, tag, or commit). The destination defines whe…
ArgoCD natively supports plain Kubernetes YAML/JSON, Helm charts (from Git or a Helm repo), Kustomize overlays, and Jsonnet. It can also use config management plugins for other too…
Point the source at a Helm repo (chart + targetRevision) or a Git path containing the chart, then supply overrides via helm.values (inline), helm.valueFiles, or helm.parameters. Ar…
- How do you use Kustomize with an ArgoCD Application? Intermediate
Point the source path at a directory containing a kustomization.yaml; ArgoCD runs `kustomize build` to render manifests. You can set images, name prefixes/suffixes, and common labe…
GitOps Principles
All 28 questions- What is GitOps? Beginner
GitOps is an operational model where the desired state of infrastructure and applications is declaratively defined in Git, and an automated agent continuously reconciles the live s…
The widely cited principles are: the system is described declaratively; the desired state is versioned and immutable in Git; approved changes are pulled and applied automatically;…
- How does ArgoCD implement GitOps? Beginner
ArgoCD is a declarative, Kubernetes-native GitOps continuous-delivery tool. It runs in the cluster, watches Git repositories holding Kubernetes manifests, compares the desired stat…
In push-based CD, an external pipeline (e.g., Jenkins) has cluster credentials and pushes changes into the cluster. In pull-based GitOps, an in-cluster agent pulls the desired stat…
Drift is when the live cluster state diverges from the declared state in Git—e.g., someone manually edits a deployment. GitOps detects drift by continuously comparing live vs desir…
Multi-cluster
All 29 questionsA single ArgoCD instance can deploy to many clusters. You register external clusters (their API server and credentials are stored as secrets), then Applications set their destinati…
Use `argocd cluster add ` (which creates a service account and stores credentials as a cluster Secret), or declaratively create a cluster Secret with the API URL, credentials, and…
The in-cluster destination (https://kubernetes.default.svc) is the cluster ArgoCD runs in—no separate credentials needed. External clusters are remote and require stored credential…
Hub-and-spoke runs one central ArgoCD (the hub) managing many remote clusters (spokes)—simple governance, single pane of glass, but the hub is critical and needs network/credential…
Use an ApplicationSet with a cluster generator, which creates one Application per registered cluster from a single template, keeping them consistent and auto-adding new clusters. C…
RBAC
All 29 questions- What is RBAC in ArgoCD? Beginner
ArgoCD RBAC controls what authenticated users and groups can do within ArgoCD—viewing, syncing, creating, or deleting Applications, and managing clusters, repos, and projects. It's…
ArgoCD ships two built-in roles: role:admin (full access to everything) and role:readonly (view-only). You define custom roles in the RBAC policy for finer control. The policy.defa…
- How is an ArgoCD RBAC policy rule structured? Intermediate
Policy lines use a CSV-like format: `p, , , , , `. Resources include applications, clusters, repositories, projects, logs, exec. Actions include get, create, update, delete, sync,…
Use the object field as project/application with wildcards, e.g., `team-a/*` grants a role over all apps in the team-a project. Because AppProjects group apps and constrain destina…
ArgoCD supports SSO via OIDC (directly or through its bundled Dex connector for LDAP, SAML, GitHub, etc.). Users log in with their identity provider; group claims from the token ar…
Sync & Health
All 29 questions- What is a sync in ArgoCD? Beginner
A sync is the operation where ArgoCD applies the desired state from Git to the cluster so the live state matches. It computes the diff, orders resources (by waves/hooks), applies t…
Sync status reflects whether live matches Git: Synced (live equals desired), OutOfSync (differences exist), and Unknown (comparison couldn't be made, e.g., repo unreachable). It's…
Health statuses describe resource operational state: Healthy (working as intended), Progressing (still coming up), Degraded (failed, e.g., crash-looping pods), Suspended (paused, l…
- How does ArgoCD determine the health of a resource? Intermediate
ArgoCD has built-in health assessments for standard resources (Deployments ready replicas, Services, Ingress with load balancer, PVCs bound, etc.). For custom resources, it uses co…
Sync status answers 'does the live cluster match Git?' (Synced/OutOfSync), while health status answers 'are the resources actually working?' (Healthy/Degraded/etc.). An app can be…
Sync Waves & Hooks
All 29 questions- What are sync waves in ArgoCD? Beginner
Sync waves control the order in which resources are applied during a sync. Each resource can carry an annotation `argocd.argoproj.io/sync-wave` with an integer; ArgoCD applies lowe…
The default wave is 0 when no annotation is set. Negative waves run before wave 0, which is handy for prerequisites like CRDs, namespaces, or operators that must exist before every…
- What are resource hooks in ArgoCD? Beginner
Hooks are resources (usually Jobs or Pods) that run at specific points in a sync to perform tasks like migrations, tests, or notifications. They're marked with `argocd.argoproj.io/…
- What are the hook phases and when does each run? Intermediate
PreSync runs before the main sync (e.g., DB migration). Sync runs alongside the normal resources. PostSync runs after all resources are applied and Healthy (e.g., smoke tests, noti…
- How do sync waves and hooks interact? Intermediate
Hooks also honor sync waves, so you can order hooks relative to each other and to resources. Within a phase, waves determine order. PreSync hooks run (in wave order) before Sync-ph…