Incorrect or out of date script localization in init 容器 concept #32466

pull/32539/head
shaggyyy2002 2022-03-26 21:46:19 +05:30
parent 078c5bb013
commit 12d8e01ce9
1 changed files with 1 additions and 1 deletions

View File

@ -183,7 +183,7 @@ Here are some ideas for how to use init containers:
* 等待一个 Service 完成创建,通过类似如下 shell 命令:
```shell
for i in {1..100}; do sleep 1; if dig myservice; then exit 0; fi; exit 1
for i in {1..100}; do sleep 1; if dig myservice; then exit 0; fi; done; exit 1
```
* 注册这个 Pod 到远程服务器,通过在命令中调用 API类似如下