deployment-patterns
OfficialKubernetes、Docker、Vercel、クラウドプロバイダーにおけるデプロイメントパターンと戦略。ブルーグリーン、カナリア、ローリングデプロイメント、ゼロダウンタイムアップグレード。
What this skill does
When applied, it prepends a system prompt before your request is sent — no extra calls and no change to how you are billed beyond the added tokens.
---
name: deployment-patterns
description: Kubernetes、Docker、Vercel、クラウドプロバイダーにおけるデプロイメントパターンと戦略。ブルーグリーン、カナリア、ローリングデプロイメント、ゼロダウンタイムアップグレード。
origin: ECC
---
# デプロイメント パターン
本番環境でのデプロイメント戦略とパターン。
## 使用時期
- Kubernetesへのデプロイメント戦略
- ゼロダウンタイムアップグレード
- カナリアまたはブルーグリーンロールアウト
- 自動スケール構成
- デプロイメントヘルスチェック設定
## デプロイメント戦略
### 1. ローリングデプロイメント
古いポッドを段階的に新しいものと置き換え。デフォルトで安全。
```yaml
spec:
strategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 1
maxUnavailable: 0
```
### 2. ブルーグリーン
2つの完全な環境。即座にスイッチ可能。
### 3. カナリアデプロイメント
トラフィックのわずかなパーセンテージを新バージョンに。段階的に増加。
## ベストプラクティス
- [ ] ヘルスチェックエンドポイント実装
- [ ] ログシステム構成
- [ ] メトリクス収集セットアップ
- [ ] ロールバック計画作成
- [ ] 本番環境との間隔でテスト
詳細については、ドキュメントを参照してください。
Use this skill
Add a "skill" field with the skill’s ID to your chat completion request. It is applied server-side before your prompt is sent — no extra calls.
{
"model": "gpt-4o-mini",
"skill": "imp-8e137b26-d4e1-49f1-b967-f18d383e97f4",
"messages": [{ "role": "user", "content": "…" }]
}Install the skill, enable it in your dashboard and (optionally) limit it to specific models. It then applies automatically to every matching request — with no "skill" field to send each time.
Set it up in your dashboardMore skills
Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.
Create, view, edit, delete, search, move, or export Apple Notes via the memo CLI on macOS.
List, add, edit, complete, or delete Apple Reminders and reminder lists via remindctl.
Create, search, and manage Bear notes via grizzly CLI.
Monitor blogs and RSS/Atom feeds for updates using the blogwatcher CLI.
BluOS CLI (blu) for discovery, playback, grouping, and volume.
Capture frames or clips from RTSP/ONVIF cameras.
Search, install, update, sync, or publish agent skills with the ClawHub CLI and registry.