What Is Push-Based Deployment?
Push-based deployment is the traditional model where the CI/CD pipeline reaches into the target environment and applies changes directly, for example by running kubectl, an SSH script, or a cloud CLI from a job. The pipeline holds the credentials and drives the rollout. It is simple and explicit but concentrates access in CI.
Why it matters
Push-based deploys are straightforward and give the pipeline full control over sequencing, but they require CI to hold production credentials, widening the blast radius if CI is compromised. Pairing them with OIDC federation and least privilege mitigates that risk.
Related concepts
- Contrasted with pull-based deployment
- CI holds environment credentials directly
- OIDC federation reduces the credential risk
Related guides
What Is Pull-Based Deployment?In pull-based deployment, an agent inside the target environment fetches and applies the desired state, rathe…
What Is GitOps?GitOps uses a git repository as the single source of truth for infrastructure and deployments, with automatio…
What Is OIDC Federation in CI/CD?OIDC federation lets a CI job exchange a short-lived identity token for cloud credentials, removing the need…