[ja] Fix a shell command

pull/41974/head
Arhell 2023-07-11 00:40:48 +03:00
parent e1f06f3069
commit 4fe4dd6e37
1 changed files with 1 additions and 1 deletions

View File

@ -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の情報をリモートサーバに登録する。