Merge pull request #41974 from Arhell/ja-shell

[ja] Fix a shell command
pull/42388/head
Kubernetes Prow Robot 2023-08-04 07:34:25 -07:00 committed by GitHub
commit 88b1e225ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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の情報をリモートサーバに登録する。