Interview Prep/GitOps & Argo CD/GitOps Principles & Delivery Models

Explain push-based vs pull-based deployment.

BeginnerConceptGitOps Principles & Delivery Models
Answer

Push: the CI/CD pipeline holds cluster credentials and runs kubectl apply or helm upgrade at the end of a run. It acts only when the pipeline runs.

Pull: an agent inside (or next to) the cluster, such as Argo CD or Flux, watches Git and applies changes itself. CI only builds artifacts and updates Git.

Pull removes cluster-admin credentials from CI, corrects drift continuously, and works for clusters behind firewalls because the connection is outbound to Git.

All GitOps & Argo CD questions Roadmap: Argo CD (GitOps)

More on GitOps Principles & Delivery Models