Update configure-liveness-readiness-startup-probes.md
parent
9b529eb95f
commit
558bd9c014
|
@ -97,7 +97,7 @@ kubectl describe pod liveness-exec
|
||||||
```
|
```
|
||||||
|
|
||||||
At the bottom of the output, there are messages indicating that the liveness
|
At the bottom of the output, there are messages indicating that the liveness
|
||||||
probes have failed, and the containers have been killed and recreated.
|
probes have failed, and the failed containers have been killed and recreated.
|
||||||
|
|
||||||
```
|
```
|
||||||
Type Reason Age From Message
|
Type Reason Age From Message
|
||||||
|
@ -117,7 +117,7 @@ Wait another 30 seconds, and verify that the container has been restarted:
|
||||||
kubectl get pod liveness-exec
|
kubectl get pod liveness-exec
|
||||||
```
|
```
|
||||||
|
|
||||||
The output shows that `RESTARTS` has been incremented:
|
The output shows that `RESTARTS` has been incremented. Note that the `RESTARTS` counter increments as soon as a failed container in a restarts :
|
||||||
|
|
||||||
```
|
```
|
||||||
NAME READY STATUS RESTARTS AGE
|
NAME READY STATUS RESTARTS AGE
|
||||||
|
|
Loading…
Reference in New Issue