Skip to content

Commit b2401e0

Browse files
authored
Merge pull request #38863 from Zhuzhenghao/fix/high-availability
[zh-cn] sync high-availability.md with en page
2 parents f25c17b + ea0a82e commit b2401e0

File tree

1 file changed

+15
-13
lines changed

1 file changed

+15
-13
lines changed

content/zh-cn/docs/setup/production-environment/tools/kubeadm/high-availability.md

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -334,21 +334,21 @@ option. Your cluster requirements may need a different configuration.
334334
{{< /note >}}
335335

336336
<!--
337-
- The output looks similar to:
337+
The output looks similar to:
338338
-->
339-
- 输出类似于:
339+
输出类似于:
340340

341-
```sh
342-
...
343-
You can now join any number of control-plane node by running the following command on each as a root:
344-
kubeadm join 192.168.0.200:6443 --token 9vr73a.a8uxyaju799qwdjv --discovery-token-ca-cert-hash sha256:7c2e69131a36ae2a042a339b33381c6d0d43887e2de83720eff5359e26aec866 --control-plane --certificate-key f8902e114ef118304e561c3ecd4d0b543adc226b7a07f675f56564185ffe0c07
341+
```sh
342+
...
343+
You can now join any number of control-plane node by running the following command on each as a root:
344+
kubeadm join 192.168.0.200:6443 --token 9vr73a.a8uxyaju799qwdjv --discovery-token-ca-cert-hash sha256:7c2e69131a36ae2a042a339b33381c6d0d43887e2de83720eff5359e26aec866 --control-plane --certificate-key f8902e114ef118304e561c3ecd4d0b543adc226b7a07f675f56564185ffe0c07
345345

346-
Please note that the certificate-key gives access to cluster sensitive data, keep it secret!
347-
As a safeguard, uploaded-certs will be deleted in two hours; If necessary, you can use kubeadm init phase upload-certs to reload certs afterward.
346+
Please note that the certificate-key gives access to cluster sensitive data, keep it secret!
347+
As a safeguard, uploaded-certs will be deleted in two hours; If necessary, you can use kubeadm init phase upload-certs to reload certs afterward.
348348

349-
Then you can join any number of worker nodes by running the following on each as root:
349+
Then you can join any number of worker nodes by running the following on each as root:
350350
kubeadm join 192.168.0.200:6443 --token 9vr73a.a8uxyaju799qwdjv --discovery-token-ca-cert-hash sha256:7c2e69131a36ae2a042a339b33381c6d0d43887e2de83720eff5359e26aec866
351-
```
351+
```
352352

353353
<!--
354354
- Copy this output to a text file. You will need it later to join control plane and worker nodes to the cluster.
@@ -393,8 +393,8 @@ option. Your cluster requirements may need a different configuration.
393393
<!--
394394
1. Apply the CNI plugin of your choice:
395395
[Follow these instructions](/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/#pod-network)
396-
to install the CNI provider. Make sure the configuration corresponds to the Pod CIDR specified in the
397-
kubeadm configuration file (if applicable).
396+
to install the CNI provider. Make sure the configuration corresponds to the Pod CIDR specified in the
397+
kubeadm configuration file (if applicable).
398398
-->
399399
2. 应用你所选择的 CNI 插件:
400400
[请遵循以下指示](/zh-cn/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/#pod-network)
@@ -438,6 +438,7 @@ For each additional control plane node you should:
438438
- The `--certificate-key ...` will cause the control plane certificates to be downloaded
439439
from the `kubeadm-certs` Secret in the cluster and be decrypted using the given key.
440440
441+
You can join multiple control-plane nodes in parallel.
441442
-->
442443
对于每个其他控制平面节点,你应该:
443444
@@ -452,6 +453,7 @@ For each additional control plane node you should:
452453
- `--certificate-key ...` 将导致从集群中的 `kubeadm-certs` Secret
453454
下载控制平面证书并使用给定的密钥进行解密。
454455
456+
你可以并行地加入多个控制面节点。
455457
<!--
456458
## External etcd nodes
457459
@@ -555,7 +557,7 @@ in the kubeadm config file.
555557
{{< /note >}}
556558
557559
<!--
558-
- Replace the following variables in the config template with the appropriate values for your cluster:
560+
- Replace the following variables in the config template with the appropriate values for your cluster:
559561
-->
560562
- 在你的集群中,将配置模板中的以下变量替换为适当值:
561563

0 commit comments

Comments
 (0)