Skip to main content
InterviewHubPRO
Section Overview
Q12

Question 12 of 50

Part 1: GitOps Fundamentals & Core Principles (Junior / Entry-Level)

24%
GitOps & ArgoCD (50 Qs)•Part 1: GitOps Fundamentals & Core Principles (Junior / Entry-Level)

How do you roll back a deployment in GitOps?

junior LevelKubernetes

In Simple Words: In a true GitOps workflow, you never click "Rollback" in the ArgoCD UI! Because Git is the single source of truth, clicking rollback in the UI causes live state to drift from Git, which selfHeal will promptly undo. To perform a true GitOps rollback: Run git revert <bad-commit-hash> and push to the main branch. ArgoCD detects the new commit and rolls the cluster back cleanly, leaving an immutable audit trail of the rollback.