@@ -334,21 +334,21 @@ option. Your cluster requirements may need a different configuration.
334
334
{{< /note >}}
335
335
336
336
<!--
337
- - The output looks similar to:
337
+ The output looks similar to:
338
338
-->
339
- - 输出类似于:
339
+ 输出类似于:
340
340
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
345
345
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.
348
348
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:
350
350
kubeadm join 192.168.0.200:6443 --token 9vr73a.a8uxyaju799qwdjv --discovery-token-ca-cert-hash sha256:7c2e69131a36ae2a042a339b33381c6d0d43887e2de83720eff5359e26aec866
351
- ```
351
+ ```
352
352
353
353
<!--
354
354
- 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.
393
393
< ! --
394
394
1. Apply the CNI plugin of your choice:
395
395
[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).
398
398
-->
399
399
2. 应用你所选择的 CNI 插件:
400
400
[请遵循以下指示](/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:
438
438
- The `--certificate-key ...` will cause the control plane certificates to be downloaded
439
439
from the `kubeadm-certs` Secret in the cluster and be decrypted using the given key.
440
440
441
+ You can join multiple control-plane nodes in parallel.
441
442
-->
442
443
对于每个其他控制平面节点,你应该:
443
444
@@ -452,6 +453,7 @@ For each additional control plane node you should:
452
453
- `--certificate-key ...` 将导致从集群中的 `kubeadm-certs` Secret
453
454
下载控制平面证书并使用给定的密钥进行解密。
454
455
456
+ 你可以并行地加入多个控制面节点。
455
457
<!--
456
458
## External etcd nodes
457
459
@@ -555,7 +557,7 @@ in the kubeadm config file.
555
557
{{< /note >}}
556
558
557
559
<!--
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:
559
561
-->
560
562
- 在你的集群中,将配置模板中的以下变量替换为适当值:
561
563
0 commit comments