From 68910913157d0d043aaf79f4a632cfea00ac3652 Mon Sep 17 00:00:00 2001 From: Qiming Teng Date: Wed, 29 Jun 2022 11:05:01 +0800 Subject: [PATCH] [zh-cn] Fix install kubeadm page The current markdown source has some shortcode in comments. It turns out that these shortcodes are still incorrectly processed by Hugo. --- .../tools/kubeadm/install-kubeadm.md | 42 ++++++++----------- 1 file changed, 18 insertions(+), 24 deletions(-) diff --git a/content/zh-cn/docs/setup/production-environment/tools/kubeadm/install-kubeadm.md b/content/zh-cn/docs/setup/production-environment/tools/kubeadm/install-kubeadm.md index 7b713372cf..1a17e3fef5 100644 --- a/content/zh-cn/docs/setup/production-environment/tools/kubeadm/install-kubeadm.md +++ b/content/zh-cn/docs/setup/production-environment/tools/kubeadm/install-kubeadm.md @@ -172,16 +172,14 @@ for more information. 参阅[容器运行时](/zh-cn/docs/setup/production-environment/container-runtimes/) 以了解更多信息。 - - -{{< note >}} Docker Engine 没有实现 [CRI](/zh-cn/docs/concepts/architecture/cri/),而这是容器运行时在 Kubernetes 中工作所需要的。 为此,必须安装一个额外的服务 [cri-dockerd](https://github.com/Mirantis/cri-dockerd)。 cri-dockerd 是一个基于传统的内置Docker引擎支持的项目,它在 1.24 版本从 kubelet 中[移除](/zh-cn/dockershim)。 @@ -189,9 +187,6 @@ cri-dockerd 是一个基于传统的内置Docker引擎支持的项目,它在 1 下面的表格包括被支持的操作系统的已知端点。 @@ -199,13 +194,11 @@ The tables below include the known endpoints for supported operating systems: {{% tab name="Linux" %}} {{< table >}} | 运行时 | Unix 域套接字 | @@ -215,17 +208,14 @@ The tables below include the known endpoints for supported operating systems: | Docker Engine (使用 cri-dockerd) | `unix:///var/run/cri-dockerd.sock` | {{< /table >}} - -{{% tab name="Windows" %}} {{< table >}} | 运行时 | Windows 命名管道路径 | @@ -234,6 +224,9 @@ The tables below include the known endpoints for supported operating systems: | Docker Engine (使用 cri-dockerd) | `npipe:////./pipe/cri-dockerd` | {{< /table >}} +{{% /tab %}} +{{< /tabs >}} + ## 安装 kubeadm、kubelet 和 kubectl @@ -266,6 +249,17 @@ For information about installing `kubectl`, see [Install and set up kubectl](/do * `kubectl`:用来与集群通信的命令行工具。 + kubeadm **不能** 帮你安装或者管理 `kubelet` 或 `kubectl`,所以你需要 确保它们与通过 kubeadm 安装的控制平面的版本相匹配。 如果不这样做,则存在发生版本偏差的风险,可能会导致一些预料之外的错误和问题。 @@ -390,7 +384,6 @@ sudo systemctl enable --now kubelet {{% /tab %}} {{% tab name="无包管理器的情况" %}} - @@ -522,3 +515,4 @@ If you are running into difficulties with kubeadm, please consult our [troublesh * [Using kubeadm to Create a Cluster](/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/) --> * [使用 kubeadm 创建集群](/zh-cn/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/) +