Update init-containers.md

pull/20537/head
moons 2020-04-24 16:11:33 +08:00 committed by GitHub
parent 02f522d95c
commit 83415adfa8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -135,7 +135,7 @@ Here are some ideas for how to use init containers:
* 在启动应用容器之前等一段时间,使用类似命令:
`sleep 60`
sleep 60
* 克隆 Git 仓库到 {{< glossary_tooltip text="Volume" term_id="volume" >}}。
* 将配置值放到配置文件中,运行模板工具为主应用容器动态地生成配置文件。例如,在配置文件中存放 POD_IP 值,并使用 Jinja 生成主应用配置文件。