Merge pull request #45876 from mengjiao-liu/fix-kubeadm-format

Fix the YAML format  in setup-ha-etcd-with-kubeadm
This commit is contained in:
Kubernetes Prow Robot 2024-04-15 01:59:57 -07:00 committed by GitHub
commit e94219771d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -128,6 +128,7 @@ on Kubernetes dual-stack support see [Dual-stack support with kubeadm](/docs/set
# Replace the value of "containerRuntimeEndpoint" for a different container runtime if needed.
```
-->
```sh
cat << EOF > /etc/systemd/system/kubelet.service.d/kubelet.conf
# 将下面的 "systemd" 替换为你的容器运行时所使用的 cgroup 驱动。
@ -194,6 +195,7 @@ on Kubernetes dual-stack support see [Dual-stack support with kubeadm](/docs/set
# Create temp directories to store files that will end up on other hosts
mkdir -p /tmp/${HOST0}/ /tmp/${HOST1}/ /tmp/${HOST2}/
-->
```sh
# 使用你的主机 IP 更新 HOST0、HOST1 和 HOST2 的 IP 地址
export HOST0=10.0.0.6