Skip to content

Commit fc7c43a

Browse files
authored
Merge pull request #33837 from Arhell/upd-ja-conf
[ja] updated configure-liveness-readiness-startup-probes.md
2 parents 921029a + 533a219 commit fc7c43a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

content/ja/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Probeの動作としては、kubeletは`cat /tmp/healthy`を対象のコンテ
5151
このコンテナは、起動すると次のコマンドを実行します:
5252

5353
```shell
54-
/bin/sh -c "touch /tmp/healthy; sleep 30; rm -rf /tmp/healthy; sleep 600"
54+
/bin/sh -c "touch /tmp/healthy; sleep 30; rm -f /tmp/healthy; sleep 600"
5555
```
5656

5757
コンテナが起動してから初めの30秒間は`/tmp/healthy`ファイルがコンテナ内に存在します。

content/ja/examples/pods/probe/exec-liveness.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ spec:
1111
args:
1212
- /bin/sh
1313
- -c
14-
- touch /tmp/healthy; sleep 30; rm -rf /tmp/healthy; sleep 600
14+
- touch /tmp/healthy; sleep 30; rm -f /tmp/healthy; sleep 600
1515
livenessProbe:
1616
exec:
1717
command:

0 commit comments

Comments
 (0)