From 148c201726c68c9c84e2c10aa6ee455cdd928a26 Mon Sep 17 00:00:00 2001 From: xieyanker Date: Mon, 30 Mar 2020 09:43:53 +0800 Subject: [PATCH] fix format error (#19925) --- content/zh/docs/tasks/configure-pod-container/static-pod.md | 4 +--- .../configuration/configure-redis-using-configmap.md | 5 +++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/content/zh/docs/tasks/configure-pod-container/static-pod.md b/content/zh/docs/tasks/configure-pod-container/static-pod.md index cc249882ac..1b28a77379 100644 --- a/content/zh/docs/tasks/configure-pod-container/static-pod.md +++ b/content/zh/docs/tasks/configure-pod-container/static-pod.md @@ -49,16 +49,14 @@ kubelet 会尝试通过 Kubernetes API 服务器为每个静态 Pod 自动创建 {{% capture prerequisites %}} - -{{< include "task-tutorial-prereqs.md" >}} {{< version-check >}} - 本文假定你在使用 {{< glossary_tooltip term_id="docker" >}} 来运行 Pod,并且你的节点是运行着 Fedora 操作系统。 其它发行版或者 Kubernetes 部署版本上操作方式可能不一样。 diff --git a/content/zh/docs/tutorials/configuration/configure-redis-using-configmap.md b/content/zh/docs/tutorials/configuration/configure-redis-using-configmap.md index c160c4d536..7150b572e1 100644 --- a/content/zh/docs/tutorials/configuration/configure-redis-using-configmap.md +++ b/content/zh/docs/tutorials/configuration/configure-redis-using-configmap.md @@ -24,6 +24,7 @@ This page provides a real world example of how to configure Redis using a Config * Apply the directory by running `kubectl apply -k ./` * Verify that the configuration was correctly applied. --> + * * 创建一个包含以下内容的 `kustomization.yaml` 文件: * 一个 ConfigMap 生成器 * 一个使用 ConfigMap 的 Pod 资源配置 @@ -36,12 +37,12 @@ This page provides a real world example of how to configure Redis using a Config {{% capture prerequisites %}} - -* {{< include "task-tutorial-prereqs.md" >}} {{< version-check >}} +* 此页面上显示的示例适用于 `kubectl` 1.14和在其以上的版本。 * 理解[使用ConfigMap来配置Containers](/docs/tasks/configure-pod-container/configure-pod-configmap/)。 {{% /capture %}}