Skip to content

Commit bdf5e35

Browse files
authored
Merge pull request #44172 from mengjiao-liu/fix-yaml-zh
Fix incorrect YAML format in static-web.yaml example
2 parents 2071be8 + 6d0a60d commit bdf5e35

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

content/zh-cn/docs/tasks/configure-pod-container/static-pod.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,13 +133,12 @@ For example, this is how to start a simple web server as a static Pod:
133133
<!--
134134
1. Choose a directory, say `/etc/kubernetes/manifests` and place a web server
135135
Pod definition there, for example `/etc/kubernetes/manifests/static-web.yaml`:
136+
137+
# Run this command on the node where kubelet is running
136138
-->
137139
2. 选择一个目录,比如在 `/etc/kubernetes/manifests` 目录来保存 Web 服务 Pod 的定义文件,例如
138140
`/etc/kubernetes/manifests/static-web.yaml`
139141

140-
<!--
141-
# Run this command on the node where kubelet is running
142-
-->
143142
```shell
144143
# 在 kubelet 运行的节点上执行以下命令
145144
mkdir -p /etc/kubernetes/manifests/

0 commit comments

Comments
 (0)