Update expression in #define-readiness-probes

This commit is contained in:
jinu
2020-06-02 14:02:14 +09:00
committed by GitHub
parent af98e9eb59
commit ec31982061
@@ -266,8 +266,8 @@ Kubernetesは、これらの状況を検知して緩和するための機能と
Readiness Probeは、コンテナの全てのライフサイクルにおいて実行されます。 Readiness Probeは、コンテナの全てのライフサイクルにおいて実行されます。
{{< /note >}} {{< /note >}}
Readiness ProbeはLiveness Probeと同様に構成します。 Readiness ProbeはLiveness Probeと同様に構成します。
唯一の違いは`readinessProbe`フィールドを`livenessProbe`フィールドの代わりに利用することだけです。 唯一の違いは`readinessProbe`フィールドを`livenessProbe`フィールドの代わりに利用することだけです。
```yaml ```yaml
readinessProbe: readinessProbe:
@@ -279,9 +279,9 @@ readinessProbe:
periodSeconds: 5 periodSeconds: 5
``` ```
HTTPおよびTCPによるReadiness Probeの構成もLiveness Probeと同じです。 HTTPおよびTCPによるReadiness Probeの構成もLiveness Probeと同じです。
Readiness ProbeとLiveness Probeは同じコンテナで同時に使用できます。 Readiness ProbeとLiveness Probeは同じコンテナで同時に使用できます。
両方使用することで、準備できていないコンテナへのトラフィックが到達しないようにし、コンテナが失敗したときに再起動することができます。 両方使用することで、準備できていないコンテナへのトラフィックが到達しないようにし、コンテナが失敗したときに再起動することができます。
## Probeの構成 {#configure-probes} ## Probeの構成 {#configure-probes}