Push-Based Deployment とは?
push-based deployment は、CI/CD の pipeline がターゲット環境に到達して変更を直接適用する従来型のモデルで、たとえば job から kubectl、SSH スクリプト、クラウド CLI を実行します。pipeline が認証情報を保持し、rollout を駆動します。シンプルで明示的ですが、アクセスが CI に集中します。
なぜ重要か
push-based deploy は分かりやすく、pipeline にシーケンスの完全な制御を与えますが、CI が本番の認証情報を保持する必要があり、CI が侵害された場合に blast radius が広がります。OIDC federation と least privilege と組み合わせることでそのリスクを緩和できます。
関連する概念
- pull-based deployment と対比される
- CI が環境の認証情報を直接保持する
- OIDC federation は認証情報のリスクを減らす
関連ガイド
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…