Merge pull request #26387 from caleb15/patch-1
add warning about counterintuitive readiness probe
This commit is contained in:
+4
@@ -293,6 +293,10 @@ Services.
|
|||||||
Readiness probes runs on the container during its whole lifecycle.
|
Readiness probes runs on the container during its whole lifecycle.
|
||||||
{{< /note >}}
|
{{< /note >}}
|
||||||
|
|
||||||
|
{{< warning >}}
|
||||||
|
Liveness probes *do not* wait for readiness probes to succeed. If you want to wait before executing a liveness probe you should use initialDelaySeconds or a startupProbe.
|
||||||
|
{{< /warning >}}
|
||||||
|
|
||||||
Readiness probes are configured similarly to liveness probes. The only difference
|
Readiness probes are configured similarly to liveness probes. The only difference
|
||||||
is that you use the `readinessProbe` field instead of the `livenessProbe` field.
|
is that you use the `readinessProbe` field instead of the `livenessProbe` field.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user