Skip to content

Commit 148c201

Browse files
authored
fix format error (#19925)
1 parent 886b093 commit 148c201

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,16 +49,14 @@ kubelet 会尝试通过 Kubernetes API 服务器为每个静态 Pod 自动创建
4949

5050
{{% capture prerequisites %}}
5151

52-
<!--
5352
{{< include "task-tutorial-prereqs.md" >}} {{< version-check >}}
5453

54+
<!--
5555
This page assumes you're using {{< glossary_tooltip term_id="docker" >}} to run Pods,
5656
and that your nodes are running the Fedora operating system.
5757
Instructions for other distributions or Kubernetes installations may vary.
5858
-->
5959

60-
{{< include "task-tutorial-prereqs.md" >}} {{< version-check >}}
61-
6260
本文假定你在使用 {{< glossary_tooltip term_id="docker" >}} 来运行 Pod,并且你的节点是运行着 Fedora 操作系统。
6361
其它发行版或者 Kubernetes 部署版本上操作方式可能不一样。
6462

content/zh/docs/tutorials/configuration/configure-redis-using-configmap.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ This page provides a real world example of how to configure Redis using a Config
2424
* Apply the directory by running `kubectl apply -k ./`
2525
* Verify that the configuration was correctly applied.
2626
-->
27+
2728
* * 创建一个包含以下内容的 `kustomization.yaml` 文件:
2829
* 一个 ConfigMap 生成器
2930
* 一个使用 ConfigMap 的 Pod 资源配置
@@ -36,12 +37,12 @@ This page provides a real world example of how to configure Redis using a Config
3637

3738
{{% capture prerequisites %}}
3839

39-
<!--
4040
* {{< include "task-tutorial-prereqs.md" >}} {{< version-check >}}
41+
<!--
4142
* The example shown on this page works with `kubectl` 1.14 and above.
4243
* Understand [Configure Containers Using a ConfigMap](/docs/tasks/configure-pod-container/configure-pod-configmap/).
4344
-->
44-
* {{< include "task-tutorial-prereqs.md" >}} {{< version-check >}}
45+
* 此页面上显示的示例适用于 `kubectl` 1.14和在其以上的版本。
4546
* 理解[使用ConfigMap来配置Containers](/docs/tasks/configure-pod-container/configure-pod-configmap/)
4647

4748
{{% /capture %}}

0 commit comments

Comments
 (0)