アプリケーションの可観測性と保守
あるPodのreadinessProbeには initialDelaySeconds: 4, periodSeconds: 12, failureThreshold: 3 が設定されている。コンテナ起動直後からプローブが常に失敗し続ける場合、このPodがServiceのエンドポイントから除外されるのはコンテナ起動から何秒後か。
- A16秒後
- B34秒後
- ✓28秒後
- D22秒後
解説
最初のプローブはt=4sで実行され、以降periodSeconds=12s間隔でt=16s、t=28sと実行される。failureThreshold=3のため3回連続失敗したt=28s時点でPodはNotReadyと判定され、Serviceのエンドポイントから除外される。
根拠CKAD出題範囲 Application Observability and Maintenance: Implement probes and health checks