DevOps

GitOps & ArgoCD

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

22 câu hỏi phỏng vấn·
Senior
1

What is the fundamental principle of GitOps?

Câu trả lời

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?

Câu trả lời

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?

Câu trả lời

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 câu hỏi phỏng vấn

Các chủ đề phỏng vấn DevOps khác

Nắm vững DevOps cho lần phỏng vấn tiếp theo

Truy cập tất cả câu hỏi, flashcards, bài kiểm tra kỹ thuật, bài tập code review và mô phỏng phỏng vấn.

Bắt đầu miễn phí