Rolling Deployment
ローリングデプロイメント
ローリングデプロイメントは古いアプリケーションインスタンスを新しいものにバッチで置き換えます。各ステップでは実行中のグループの一部だけが変更されるため、バージョンが重なることがあります。
old batch -> start and verify new batch -> drain old batch -> repeat- 1v1
- 2v1
- 3v2 ✓
- 4v2 ✓
2 / 2 ready→old batch -> start and verify new batch -> drain old batch -> repeatOPSもう一つの例
サービスには4つのインスタンスがあります。1つの追加が起動する可能性がありますが、どれも利用不可であってはいけません。各準備完了バッチが次の置き換えを許可します。
主な部分
- 01古いインスタンスグループ
- 02新しいインスタンスグループ
- 03バッチサイズ
- 04利用不可および追加制限
- 05レディネスとドレイン
- 06一時停止およびロールバックルール
以下の場合に使用します
両方のバージョンが同時に実行でき、健全な容量が維持できる場合に使用します。バッチ、準備完了、一時停止、失敗、ロールバックのルールを定義してください。
以下の場合は使用しないでください
ゼロダウンタイムを約束しないでください。弱い準備確認、低容量、長時間の接続、互換性のないデータ変更でサービスが中断する可能性があります。
コードで使用する名前
old batch -> start and verify new batch -> drain old batch -> repeat 出荷前に
Before publishing, check the exact repository, branch, target, and diff. Keep unpublished work. Pass review and CI checks. Record conflict and data-loss risks, release order, traceability, recovery, and rollback.
Outcome:Complete the task with ローリングデプロイメント (Rolling Deployment)。 User context:サービスには4つのインスタンスがあります。1つの追加が起動する可能性がありますが、どれも利用不可であってはいけません。各準備完了バッチが次の置き換えを許可します。 Delivery concept or operation:ローリングデプロイメント (Rolling Deployment)。 Why it fits:両方のバージョンが同時に実行でき、健全な容量が維持できる場合に使用します。バッチ、準備完了、一時停止、失敗、ロールバックのルールを定義してください。 Do not use it when:ゼロダウンタイムを約束しないでください。弱い準備確認、低容量、長時間の接続、互換性のないデータ変更でサービスが中断する可能性があります。 Delivery requirements: Name the code repository and target. List preconditions, changes, review and CI checks, conflict and data-loss risks, release order, and the rollback or recovery command. Repository safeguards: Keep unpublished work and a clear history. Do not run destructive steps without an explicit backup. Check the exact code diff and remote target before publishing. Acceptance criteria: Review the intended diff and pass all required checks. Keep the target version traceable. Practice failure recovery and keep published history clear. Evidence and limits (evidence boundary):単一の公式標準が全体の用語を管理するわけではありません。その意味はチーム、プラットフォーム、またはフレームワークによって変わる可能性があります。 Unknowns to confirm: Repository, branch, team activity, release environment, approval owner, protected checks, and rollback target.
このリクエストを確認する
Review how ローリングデプロイメント (Rolling Deployment) is used now. Definition: ローリングデプロイメントは古いアプリケーションインスタンスを新しいものにバッチで置き換えます。各ステップでは実行中のグループの一部だけが変更されるため、バージョンが重なることがあります。 Release checks: Before publishing, check the exact repository, branch, target, and diff. Keep unpublished work. Pass review and CI checks. Record conflict and data-loss risks, release order, traceability, recovery, and rollback. Before changing code, list the evidence, gaps, severity, and the smallest safe fix.