Merge pull request #33837 from Arhell/upd-ja-conf

[ja] updated configure-liveness-readiness-startup-probes.md
This commit is contained in:
Kubernetes Prow Robot
2022-05-22 22:18:01 -07:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
@@ -51,7 +51,7 @@ Probeの動作としては、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: