Update configure-liveness-readiness-startup-probes.md

pull/35079/head
Akanksha kumari 2022-07-16 16:54:39 +05:30 committed by GitHub
parent 9b529eb95f
commit 558bd9c014
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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