Skip to content

Commit a7f5c65

Browse files
author
Mengjiao Liu
committed
Fix the YAML format in setup-ha-etcd-with-kubeadm
1 parent d1fb9d2 commit a7f5c65

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

content/zh-cn/docs/setup/production-environment/tools/kubeadm/setup-ha-etcd-with-kubeadm.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ on Kubernetes dual-stack support see [Dual-stack support with kubeadm](/docs/set
128128
# Replace the value of "containerRuntimeEndpoint" for a different container runtime if needed.
129129
```
130130
-->
131+
131132
```sh
132133
cat << EOF > /etc/systemd/system/kubelet.service.d/kubelet.conf
133134
# 将下面的 "systemd" 替换为你的容器运行时所使用的 cgroup 驱动。
@@ -194,6 +195,7 @@ on Kubernetes dual-stack support see [Dual-stack support with kubeadm](/docs/set
194195
# Create temp directories to store files that will end up on other hosts
195196
mkdir -p /tmp/${HOST0}/ /tmp/${HOST1}/ /tmp/${HOST2}/
196197
-->
198+
197199
```sh
198200
# 使用你的主机 IP 更新 HOST0、HOST1 和 HOST2 的 IP 地址
199201
export HOST0=10.0.0.6

0 commit comments

Comments
 (0)