Cloud Deploy は GCP の継続的デリバリ (CD) サービスで、GKE / Cloud Run / Anthos 等への プログレッシブリリース (Canary / Blue-Green) を管理します。Cloud Build (CI) と組み合わせて完全な CI/CD パイプラインを構築できます。
apiVersion: deploy.cloud.google.com/v1
kind: DeliveryPipeline
metadata:
name: my-app-pipeline
serialPipeline:
stages:
- targetId: dev
profiles: [dev]
- targetId: staging
profiles: [staging]
strategy:
canary:
runtimeConfig:
kubernetes:
serviceNetworking:
service: my-app
canaryDeployment:
percentages: [25, 50, 75]
verify: true
- targetId: prod
profiles: [prod]
strategy:
canary:
canaryDeployment:
percentages: [10, 50]
verify: true
---
apiVersion: deploy.cloud.google.com/v1
kind: Target
metadata:
name: prod
requireApproval: true
gke:
cluster: projects/PROJECT/locations/asia-northeast1/clusters/prod-cluster| 戦略 | 説明 | 対応ターゲット |
|---|---|---|
| Standard | 一括 100% 切り替え | 全て |
| Canary | % で段階配信 | GKE / Cloud Run / Custom |
| Blue-Green | Service ターゲット切り替え | GKE |
| Custom | 自前 Shell Script | Custom Target |
requireApproval: true を設定| 項目 | 料金 |
|---|---|
| Delivery Pipeline | 月 $50 |
| または Release ベース | $0.50/Release |
| Custom Target Job | Cloud Build 時間ベース |
| 無料枠 | 2 Delivery Pipeline / 月 |
| 項目 | Cloud Deploy | ArgoCD | AWS CodeDeploy | Spinnaker |
|---|---|---|---|---|
| GitOps | — | ◎ | — | ○ |
| Canary 標準 | ◎ | Argo Rollouts 別 | ○ | ◎ |
| マネージド | ◎ | — | ◎ (AWS) | — |
| GUI | ◎ | ◎ | ○ | ◎ |
| 料金 | Pipeline 課金 | 無料 | 無料 (AWS 内) | 無料 OSS |
gcloud deploy releases create で Release 作成Cloud Deploy と Cloud Build の違いは?
Cloud Build = ビルド + テスト (CI)、Cloud Deploy = デプロイ管理 (CD)。Cloud Build がビルドしたイメージを Cloud Deploy で複数環境にプログレッシブリリース。
対応ターゲットは?
GKE、Cloud Run、GKE Enterprise (Anthos)、Custom Target (任意の Shell Script で展開可能)。
Canary / Blue-Green デプロイは?
Canary は標準サポート (10% → 50% → 100% 等の段階配信)。Blue-Green は GKE で Service 切り替えで実装。
Approval Gate は?
各 Target へのプロモーション前に承認必須化可能。Slack / Email 通知連携。本番リリースのガバナンスに必須。
Verify はどう実装する?
Skaffold の verify フックでテスト Job を実行。Failure 時に自動ロールバック設定可能。
料金体系は?
Delivery Pipeline ごとに月 $50 (1 pipeline)、または Release ごとに 1 Release = $0.50。Run / GKE 等のターゲット側は別料金。
AWS CodeDeploy / ArgoCD との比較は?
CodeDeploy は AWS 統合、ArgoCD は GitOps OSS で柔軟。Cloud Deploy は GCP 統合 + Canary 標準 + GUI 操作が容易。
Skaffold との関係は?
Cloud Deploy は内部的に Skaffold を使用してレンダリング・デプロイ。skaffold.yaml で詳細制御可。
関連記事・CD / DevOps
GCP Professional Cloud Developer (PCD) 完全ガイド|Cloud Run・GKE・CI/CD・APM
Google Cloud Professional Cloud Developer の試験範囲、Cloud Run / GKE / Cloud Build / Cloud Trace、AWS DVA / Azure AZ-204 比較、学習ロードマップを徹底解説。
Migrate to Containers (M2C) 完全ガイド|VM → GKE/Cloud Run モダン化 (GCP)
Google Cloud Migrate to Containers (旧 Migrate for Anthos) の全機能解説。VMware / 物理 / AWS / Azure の Linux/Windows アプリを Container 化して GKE / Cloud Run / Anthos にデプロイ。Stateful 対応、料金、成功事例を 2026 年最新版で網羅。
GCP Professional Cloud DevOps Engineer (PCDOE) 完全ガイド|SRE・GKE・CI/CD・SLO
Google Cloud Professional Cloud DevOps Engineer の試験範囲、SRE / SLI / SLO / Error Budget、GKE / Cloud Build / Cloud Deploy、AWS DOP・Azure AZ-400 比較を徹底解説。
Anthos / GKE Enterprise 完全ガイド|マルチクラウド K8s・Fleet・Service Mesh (GCP)
Google Cloud GKE Enterprise (旧 Anthos) の全機能解説。Fleet、Config Sync、Policy Controller、Anthos Service Mesh、GKE on AWS/Azure/VMware/Bare Metal、料金、EKS Anywhere / Azure Arc 比較を 2026 年最新版で網羅。
※ Google Cloud は Google LLC の商標です。最新情報は Cloud Deploy 公式 をご確認ください。
NicheeLab編集部
データエンジニアリング・クラウド資格の専門家。Databricks・Snowflake等の認定資格を保有し、実務経験に基づいた問題作成・解説を行っています。NicheeLab運営。
Google Cloud (GCP) 認定資格ロードマップ 2026 完全版|全 15 試験を体系化
Google Cloud 認定資格 全 15 試験 (Foundational 2 + Associate 3 + Pr...
Cloud Digital Leader (CDL) 完全ガイド|出題範囲・学習リソース・合格戦略
Google Cloud Cloud Digital Leader (CDL) の完全ガイド。6 ドメイン 92 bul...
Generative AI Leader (GAIL) 完全ガイド|Google Cloud 生成 AI 認定
Google Cloud Generative AI Leader (GAIL、2025-05-14 リリース) の完全...
Vertex AI 入門|Google Cloud 統合 ML プラットフォームの全機能
Google Cloud Vertex AI の入門解説。Vertex AI Studio / Agent Builde...
GCP Associate Cloud Engineer (ACE) 完全ガイド|試験範囲・受験料・学習ロードマップ
Google Cloud Associate Cloud Engineer (ACE) の試験範囲・受験料 125 US...