Merge pull request #44172 from mengjiao-liu/fix-yaml-zh

Fix incorrect YAML format in static-web.yaml example
pull/44176/head
Kubernetes Prow Robot 2023-12-01 10:24:03 +01:00 committed by GitHub
commit bdf5e3533d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions

View File

@ -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/