0
0
Kubernetesdevops~5 mins

GitOps with ArgoCD in Kubernetes - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is GitOps in simple terms?
GitOps is a way to manage and deploy applications using Git as the single source of truth. Changes to your app are made by updating Git, and automation tools apply those changes to your system.
Click to reveal answer
beginner
What role does ArgoCD play in GitOps?
ArgoCD is a tool that watches your Git repository and automatically applies the changes to your Kubernetes cluster, keeping your live system in sync with what is defined in Git.
Click to reveal answer
intermediate
How does ArgoCD detect changes in your Git repository?
ArgoCD regularly polls the Git repository or listens for webhooks to detect changes, then compares the live state with the desired state defined in Git and syncs them if needed.
Click to reveal answer
intermediate
What is an Application in ArgoCD?
An Application in ArgoCD is a resource that defines which Git repository and path to use, and which Kubernetes cluster and namespace to deploy to. It represents one deployable unit.
Click to reveal answer
beginner
Why is GitOps with ArgoCD considered safer than manual deployments?
Because all changes go through Git, you have a clear history and audit trail. ArgoCD automatically ensures the cluster matches Git, reducing human errors and making rollbacks easy.
Click to reveal answer
What does ArgoCD use as the source of truth for deployments?
AGit repository
BLocal files on the cluster
CManual commands
DDocker Hub
Which Kubernetes resource does ArgoCD primarily manage?
AApplications
BConfigMaps
CServices
DPods
How does ArgoCD keep the cluster state in sync with Git?
ABy manual user commands only
BBy running cron jobs on the cluster
CBy polling Git and applying changes automatically
DBy using Kubernetes Operators
What happens if the live cluster state differs from Git in ArgoCD?
AArgoCD deletes the application
BArgoCD alerts but does not fix
CArgoCD ignores the difference
DArgoCD syncs the cluster to match Git
Which of these is NOT a benefit of GitOps with ArgoCD?
AClear audit trail of changes
BManual editing of live cluster without Git
CAutomatic rollback to previous versions
DReduced human error in deployments
Explain how ArgoCD uses Git to manage Kubernetes deployments.
Think about how changes in Git lead to updates in the cluster.
You got /4 concepts.
    Describe the safety advantages of using GitOps with ArgoCD compared to manual deployment.
    Consider what happens when you want to track or undo changes.
    You got /4 concepts.