Skip to content

Commit

Permalink
[ja] Fix a shell command
Browse files Browse the repository at this point in the history
  • Loading branch information
Arhell committed Jul 10, 2023
1 parent e1f06f3 commit 4fe4dd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/ja/docs/concepts/workloads/pods/init-containers.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Initコンテナを活用する方法について、いくつかのアイデア

* シェルコマンドを使って単一の{{< glossary_tooltip text="Service" term_id="service">}}が作成されるのを待機する。
```shell
for i in {1..100}; do sleep 1; if dig myservice; then exit 0; fi; done; exit 1
for i in {1..100}; do sleep 1; if nslookup myservice; then exit 0; fi; done; exit 1
```

* 以下のようなコマンドを使って下位のAPIからPodの情報をリモートサーバに登録する。
Expand Down

0 comments on commit 4fe4dd6

Please sign in to comment.