Merge pull request #33884 from Sea-n/upd-config-ru

[ru] Updated configure-liveness-readiness-startup-probes.md
This commit is contained in:
Kubernetes Prow Robot
2022-05-24 01:55:11 -07:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
@@ -59,7 +59,7 @@ kubelet исполняет команду `cat /tmp/healthy` в целевом
Когда контейнер запускается, он исполняет команду Когда контейнер запускается, он исполняет команду
```shell ```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`. Для первых 30 секунд жизни контейнера существует файл `/tmp/healthy`.
@@ -11,7 +11,7 @@ spec:
args: args:
- /bin/sh - /bin/sh
- -c - -c
- touch /tmp/healthy; sleep 30; rm -rf /tmp/healthy; sleep 600 - touch /tmp/healthy; sleep 30; rm -f /tmp/healthy; sleep 600
livenessProbe: livenessProbe:
exec: exec:
command: command: