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
Delegate coding work to Codex, Claude Code, or OpenCode as background workers; not simple edits or read-only code lookup.
Create, edit, audit, tidy, validate, or restructure AgentSkills and SKILL.md files.
Search and analyze your own session logs (older/parent conversations) using jq.
Create, view, edit, delete, search, move, or export Apple Notes via the memo CLI on macOS.
Diagnose OpenClaw Android, iOS, or macOS node pairing, QR/setup code, route, auth, and connection failures.
Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.
List, add, edit, complete, or delete Apple Reminders and reminder lists via remindctl.
Create, search, and manage Bear notes via grizzly CLI.