Merge pull request #33436 from kinzhi/kinzhi88
[zh]Update content/zh/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes.md
This commit is contained in:
commit
daccbfb469
|
|
@ -91,7 +91,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"
|
||||
```
|
||||
|
||||
<!--
|
||||
|
|
|
|||
Loading…
Reference in New Issue