DevOps

GitOps & ArgoCD

GitOps principles, ArgoCD architecture, applications, sync strategies, rollbacks, troubleshooting sync failures

22 面接問題·
Senior
1

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.

2

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.

3

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.

4

What does the OutOfSync status mean in ArgoCD?

5

What is the difference between Continuous Delivery (CD) and Continuous Deployment in the GitOps context?

+19 面接問題

次の面接に向けてDevOpsをマスター

すべての問題、flashcards、技術テスト、コードレビュー演習、面接シミュレーターにアクセス。

無料で始める