Interview Prep/CI/CD/Deployment Strategies and GitOps

What is the difference between push-based CD and pull-based GitOps?

IntermediateConceptDeployment Strategies and GitOps
Answer

Push: the CI/CD pipeline holds cluster credentials and runs kubectl apply or helm upgrade against the cluster. Pull: an agent inside the cluster pulls manifests from Git and applies them, so the pipeline only builds the image and updates a Git repo (image tag), and the cluster credentials never leave the cluster. Pull is better for security, drift detection and multi-cluster consistency; push is simpler for small setups and non-Kubernetes targets.

All CI/CD questions Roadmap: CI/CD fundamentals

More on Deployment Strategies and GitOps