Skip to content

Commit f57b6a4

Browse files
authored
Merge pull request #32221 from amitech/patch-1
Updated configure-liveness-readiness-startup-probes.md
2 parents ed5ae05 + a60e920 commit f57b6a4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ and restarts it.
5959
When the container starts, it executes this command:
6060

6161
```shell
62-
/bin/sh -c "touch /tmp/healthy; sleep 30; rm -rf /tmp/healthy; sleep 600"
62+
/bin/sh -c "touch /tmp/healthy; sleep 30; rm -f /tmp/healthy; sleep 600"
6363
```
6464

6565
For the first 30 seconds of the container's life, there is a `/tmp/healthy` file.

content/en/examples/pods/probe/exec-liveness.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ spec:
1111
args:
1212
- /bin/sh
1313
- -c
14-
- touch /tmp/healthy; sleep 30; rm -rf /tmp/healthy; sleep 600
14+
- touch /tmp/healthy; sleep 30; rm -f /tmp/healthy; sleep 600
1515
livenessProbe:
1616
exec:
1717
command:

0 commit comments

Comments
 (0)