Health Probes
ヘルスプローブ
ヘルスプローブは、サービスが起動中か、トラフィックの準備ができているか、生存しているかをプラットフォームに知らせる小さなチェックです。
startup failure -> restart policy; startup success -> enable checks; readiness failure -> remove traffic; liveness failure -> restart policystartup failure -> restart policy; startup success -> enable checks; readiness failure -> remove traffic; liveness failure -> restart policySREもう一つの例
失敗したレディネスプローブはトラフィックを削除します。起動やライブネスの失敗が繰り返されると、プラットフォームは再起動ポリシーに従います。
主な部分
- 01起動プローブ
- 02レディネスプローブ
- 03ライブネスプローブ
- 04エンドポイントを確認
- 05失敗しきい値
- 06ルーティングまたは再起動アクション
以下の場合に使用します
実行中のプロセスが準備できていない可能性がある場合は、別々のプローブを使用してください。各プローブには1つの明確な質問と安全な閾値を設定してください。
以下の場合は使用しないでください
ライブラネスをすべてのリモートサービスに依存させないでください。共有障害がすべての正常なプロセスを再起動させ、回復を難しくする可能性があります。
コードで使用する名前
startup failure -> restart policy; startup success -> enable checks; readiness failure -> remove traffic; liveness failure -> restart policy 出荷前に
Check contracts and invariants, authorization, and input limits. Test retries, one-time effects, timeouts, and partial failures. Verify data integrity, compatibility, monitoring, recovery, and rollback.
Outcome:Complete the task with ヘルスプローブ (Health Probes)。 User context:失敗したレディネスプローブはトラフィックを削除します。起動やライブネスの失敗が繰り返されると、プラットフォームは再起動ポリシーに従います。 Technical concept or control:ヘルスプローブ (Health Probes)。 Why it fits:実行中のプロセスが準備できていない可能性がある場合は、別々のプローブを使用してください。各プローブには1つの明確な質問と安全な閾値を設定してください。 Do not use it when:ライブラネスをすべてのリモートサービスに依存させないでください。共有障害がすべての正常なプロセスを再起動させ、回復を難しくする可能性があります。 Engineering requirements: Define inputs, outputs, contracts, and rules that must always hold. Set authorization and input checks. Define failures, timeouts, retries, one-time effects, data moves, and compatibility limits. Operations: Add useful signals and logs that hide sensitive data. Set capacity limits and write an operator guide. Test recovery and rollback. Acceptance criteria: Contract and failure-path tests pass. Data and authorization rules still hold during retries and partial failures. Check performance limits, monitoring, recovery, and rollback. Evidence and limits (evidence boundary):単一の公式標準が全体の用語を管理するわけではありません。その意味はチーム、プラットフォーム、またはフレームワークによって変わる可能性があります。 Unknowns to confirm: Where the code runs, data stores, traffic shape, consistency needs, and the security boundary. Also confirm the compatibility period, service goals, and rollback limits.
このリクエストを確認する
Review how ヘルスプローブ (Health Probes) is used now. Definition: ヘルスプローブは、サービスが起動中か、トラフィックの準備ができているか、生存しているかをプラットフォームに知らせる小さなチェックです。 Release checks: Check contracts and invariants, authorization, and input limits. Test retries, one-time effects, timeouts, and partial failures. Verify data integrity, compatibility, monitoring, recovery, and rollback. Before changing code, list the evidence, gaps, severity, and the smallest safe fix.