Readiness Endpoint - CI/CD用語集の定義
readiness endpoint は、サービスがまだトラフィックを受け入れる準備ができているかを報告し、単に生きていることとは区別されます。
readiness endpoint は、たとえば依存先が接続した後など、サービスがトラフィックを受け入れる準備ができているかを報告します。Kubernetes は readiness probe を使って、rolling deploy 中にいつリクエストをルーティングするかを決定します。
準備状態は生存状態とは異なります。サービスは生きていても、キャッシュのウォームアップ中やデータベースへの接続中であれば、まだ準備ができていないことがあります。deploy はトラフィックを送る前に準備状態を待ちます。
関連ガイド
Liveness Endpoint - CI/CD Glossary DefinitionLiveness Endpoint: A liveness endpoint reports whether a service process is alive and not deadlocked; a faili…
Health Endpoint - CI/CD Glossary DefinitionHealth Endpoint: A health endpoint is a URL (often `/health`) that reports whether a service is running, used…
Graceful Shutdown - CI/CD Glossary DefinitionGraceful Shutdown: Graceful shutdown is stopping a service by finishing in-flight requests and closing connec…