[zh]Update content/zh/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes.md
This commit is contained in:
+1
-1
@@ -91,7 +91,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"
|
||||||
```
|
```
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
|
|||||||
Reference in New Issue
Block a user