What is GitOps, and what changes about how you deploy compared with running deploy commands from a CI pipeline?

technical-conceptual · Junior level · cloud-devops-security

What the interviewer is really asking

Assess whether the candidate understands GitOps as making Git the single source of truth for declared cluster state, with an in-cluster agent continuously pulling and reconciling that state — versus a CI pipeline pushing changes — and can name the operational benefits (auditability, drift correction, easy rollback).

What to say

What to avoid

Example answers

Strong: GitOps makes Git the source of truth: I open a PR that changes the manifest, it gets reviewed and merged, and an in-cluster agent notices the new commit and applies it — no one runs kubectl. The big difference from our old pipeline is rollback: instead of a special rollback job, I just git revert the commit and the agent converges the cluster back. The repo history is literally our deploy log.

Weak: GitOps means you keep your Kubernetes YAML files in a Git repo instead of on your laptop.

Want questions matched to your role? Paste a job title, job description, or CV and get a personalized set, or go Pro to unlock the full bank.