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

We don't need to pass -r flag with rm command to delete a file.
This commit is contained in:
Amit Sharma 2022-03-12 14:13:06 +05:30 committed by GitHub
parent 3a46ff7cc5
commit ef297288fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ and restarts it.
When the container starts, it executes this command:
```shell
/bin/sh -c "touch /tmp/healthy; sleep 30; rm -rf /tmp/healthy; sleep 600"
/bin/sh -c "touch /tmp/healthy; sleep 30; rm -f /tmp/healthy; sleep 600"
```
For the first 30 seconds of the container's life, there is a `/tmp/healthy` file.