GitOps & ArgoCD (50 Qs)•Part 1: GitOps Fundamentals & Core Principles (Junior / Entry-Level)
Explain the internal architecture of ArgoCD.
senior LevelSystem Design
In Simple Words: ArgoCD is a declarative, GitOps continuous delivery tool for Kubernetes implemented as a set of Kubernetes controllers and services:
Core Components:
- API Server: gRPC/REST server that exposes the Web UI, CLI, and handles user authentication, RBAC, and credentials.
- Repository Server (
argocd-repo-server): Internal service that clones Git repositories, parses Helm charts or Kustomize overlays, and generates raw Kubernetes manifests in memory. - Application Controller (
argocd-application-controller): The heart of ArgoCD. It continuously compares the live cluster state (from Kubernetes API) with the target state (from Repo Server) and executes reconciliation loops. - Redis: In-memory cache for repository manifests, cluster state, and tokens to reduce load on Kubernetes API and Git servers.
- Dex: Bundled identity service for OIDC/OAuth authentication (Okta, GitHub, Google, Keycloak).