[ru] Updated configure-liveness-readiness-startup-probes.md

This commit is contained in:
Sean Wei
2022-05-23 08:47:39 +08:00
parent 1d50bbf5a1
commit 9361df6259
2 changed files with 2 additions and 2 deletions
@@ -59,7 +59,7 @@ kubelet исполняет команду `cat /tmp/healthy` в целевом
Когда контейнер запускается, он исполняет команду
```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"
```
Для первых 30 секунд жизни контейнера существует файл `/tmp/healthy`.
@@ -11,7 +11,7 @@ spec:
args:
- /bin/sh
- -c
- touch /tmp/healthy; sleep 30; rm -rf /tmp/healthy; sleep 600
- touch /tmp/healthy; sleep 30; rm -f /tmp/healthy; sleep 600
livenessProbe:
exec:
command: