Skip to content

Commit 0c605ec

Browse files
authored
Merge pull request #35079 from akankshakumari393/patch-1
Add clarity on restart behavior of Readiness and Liveness Probes
2 parents ee5878e + 21f7948 commit 0c605ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/en/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ kubectl describe pod liveness-exec
9797
```
9898

9999
At the bottom of the output, there are messages indicating that the liveness
100-
probes have failed, and the containers have been killed and recreated.
100+
probes have failed, and the failed containers have been killed and recreated.
101101

102102
```
103103
Type Reason Age From Message
@@ -117,7 +117,7 @@ Wait another 30 seconds, and verify that the container has been restarted:
117117
kubectl get pod liveness-exec
118118
```
119119

120-
The output shows that `RESTARTS` has been incremented:
120+
The output shows that `RESTARTS` has been incremented. Note that the `RESTARTS` counter increments as soon as a failed container comes back to the running state:
121121

122122
```
123123
NAME READY STATUS RESTARTS AGE

0 commit comments

Comments
 (0)