From 6d0a60d12124b6e4e4f44e97c73bee2611b4dd4c Mon Sep 17 00:00:00 2001 From: Mengjiao Liu Date: Fri, 1 Dec 2023 15:51:13 +0800 Subject: [PATCH] Fix incorrect YAML format in static-web.yaml example --- .../zh-cn/docs/tasks/configure-pod-container/static-pod.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/content/zh-cn/docs/tasks/configure-pod-container/static-pod.md b/content/zh-cn/docs/tasks/configure-pod-container/static-pod.md index 0b2a246e37..32b579ec48 100644 --- a/content/zh-cn/docs/tasks/configure-pod-container/static-pod.md +++ b/content/zh-cn/docs/tasks/configure-pod-container/static-pod.md @@ -133,13 +133,12 @@ For example, this is how to start a simple web server as a static Pod: 2. 选择一个目录,比如在 `/etc/kubernetes/manifests` 目录来保存 Web 服务 Pod 的定义文件,例如 `/etc/kubernetes/manifests/static-web.yaml`: - ```shell # 在 kubelet 运行的节点上执行以下命令 mkdir -p /etc/kubernetes/manifests/