Merge pull request #36249 from yanrongshi/zh-cn]Sync-create-cluster-kubeadm.md

[zh-cn] Sync create-cluster-kubeadm.md
pull/36376/head
Kubernetes Prow Robot 2022-08-28 04:34:37 -07:00 committed by GitHub
commit 8c6143ad57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 20 deletions

View File

@ -159,7 +159,7 @@ After you initialize your control-plane, the kubelet runs normally.
<!--
This step is optional and only applies in case you wish `kubeadm init` and `kubeadm join`
to not download the default container images which are hosted at `k8s.gcr.io`.
to not download the default container images which are hosted at `registry.k8s.io`.
Kubeadm has commands that can help you pre-pull the required images
when creating a cluster without an internet connection on its nodes.
@ -170,7 +170,7 @@ Kubeadm allows you to use a custom image repository for the required images.
See [Using custom images](/docs/reference/setup-tools/kubeadm/kubeadm-init#custom-images)
for more details.
-->
这个步骤是可选的,只适用于你希望 `kubeadm init``kubeadm join` 不去下载存放在 `k8s.gcr.io` 上的默认的容器镜像的情况。
这个步骤是可选的,只适用于你希望 `kubeadm init``kubeadm join` 不去下载存放在 `registry.k8s.io` 上的默认的容器镜像的情况。
当你在离线的节点上创建一个集群的时候Kubeadm 有一些命令可以帮助你预拉取所需的镜像。
阅读[离线运行 kubeadm](/zh-cn/docs/reference/setup-tools/kubeadm/kubeadm-init#without-internet-connection)
@ -580,25 +580,13 @@ node "test-01" untainted
```
<!--
This will remove the `node-role.kubernetes.io/control-plane` and
`node-role.kubernetes.io/master` taints from any nodes that have them,
including the control plane nodes, meaning that the scheduler will then be able
to schedule Pods everywhere.
This will remove the `node-role.kubernetes.io/control-plane:NoSchedule` taint
from any nodes that have it, including the control plane nodes, meaning that the
scheduler will then be able to schedule Pods everywhere.
-->
这将从任何拥有 `node-role.kubernetes.io/control-plane`
`node-role.kubernetes.io/master` 污点的节点上移除该污点。
包括控制平面节点,这意味着调度程序将能够在任何地方调度 Pods。
<!--
{{< note >}}
The `node-role.kubernetes.io/master` taint is deprecated and kubeadm will stop using it in version 1.25.
{{< /note >}}
-->
{{< note >}}
`node-role.kubernetes.io/master` 污点已被废弃kubeadm 将在 1.25 版本中停止使用它。
{{< /note >}}
这将从任何拥有 `node-role.kubernetes.io/control-plane:NoSchedule`
污点的节点(包括控制平面节点)上移除该污点。
这意味着调度程序将能够在任何地方调度 Pod。
<!--
### Joining your nodes {#join-nodes}