Merge pull request #33884 from Sea-n/upd-config-ru
[ru] Updated configure-liveness-readiness-startup-probes.md
This commit is contained in:
+1
-1
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user