
GitOps & ArgoCD
GitOps principles, ArgoCD architecture, applications, sync strategies, rollbacks, troubleshooting sync failures
1What is the fundamental principle of GitOps?
What is the fundamental principle of GitOps?
답변
The fundamental principle of GitOps is to use Git as the single source of truth for infrastructure and applications. All infrastructure changes go through Git commits, providing auditability, versioning, and easy rollbacks. GitOps tools like ArgoCD automatically synchronize the cluster state with the desired state declared in Git.
2What is the main architecture of ArgoCD?
What is the main architecture of ArgoCD?
답변
ArgoCD uses a pull-based architecture with multiple components: Application Controller (synchronizes state), Repo Server (fetches manifests from Git), API Server (exposes REST API), and Redis (caching). This pull architecture allows the cluster to fetch changes from Git rather than receiving push deployments from CI/CD, improving security and reliability.
3What is the difference between ArgoCD Application and ApplicationSet?
What is the difference between ArgoCD Application and ApplicationSet?
답변
An ArgoCD Application deploys a single application to a specific cluster and namespace. An ApplicationSet automatically generates multiple Applications from templates, ideal for managing multiple environments (dev, staging, prod) or multiple clusters with the same base configuration. ApplicationSet uses generators (Git, List, Cluster, Matrix) to dynamically create Applications.
What does the OutOfSync status mean in ArgoCD?
What is the difference between Continuous Delivery (CD) and Continuous Deployment in the GitOps context?
+19 면접 질문