Merge pull request #44172 from mengjiao-liu/fix-yaml-zh
Fix incorrect YAML format in static-web.yaml examplepull/44176/head
commit
bdf5e3533d
|
@ -133,13 +133,12 @@ For example, this is how to start a simple web server as a static Pod:
|
|||
<!--
|
||||
1. Choose a directory, say `/etc/kubernetes/manifests` and place a web server
|
||||
Pod definition there, for example `/etc/kubernetes/manifests/static-web.yaml`:
|
||||
|
||||
# Run this command on the node where kubelet is running
|
||||
-->
|
||||
2. 选择一个目录,比如在 `/etc/kubernetes/manifests` 目录来保存 Web 服务 Pod 的定义文件,例如
|
||||
`/etc/kubernetes/manifests/static-web.yaml`:
|
||||
|
||||
<!--
|
||||
# Run this command on the node where kubelet is running
|
||||
-->
|
||||
```shell
|
||||
# 在 kubelet 运行的节点上执行以下命令
|
||||
mkdir -p /etc/kubernetes/manifests/
|
||||
|
|
Loading…
Reference in New Issue