Skip to content

Commit 848a52b

Browse files
authored
Merge pull request #33884 from Sea-n/upd-config-ru
[ru] Updated configure-liveness-readiness-startup-probes.md
2 parents 16a8c8f + 9361df6 commit 848a52b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

content/ru/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 @@ kubelet исполняет команду `cat /tmp/healthy` в целевом
5959
Когда контейнер запускается, он исполняет команду
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
Для первых 30 секунд жизни контейнера существует файл `/tmp/healthy`.

content/ru/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)