Merge pull request #34917 from cavcrosby/fix-taints-spelling-zh-cn

[zh-cn] typo: Fix "tains" in kubeadm-config.v1beta2 & v1beta3 documentation
This commit is contained in:
Kubernetes Prow Robot 2022-07-10 17:37:47 -07:00 committed by GitHub
commit d4ead1b36f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -1802,7 +1802,7 @@ a control-plane taint for control-plane nodes. If you don't want to taint your c
node, set this field to an empty list, i.e. <code>taints: []</code>, in the YAML file. This field is
solely used for Node registration.</p>
-->
<p><code>tains</code> 设定 Node API 对象被注册时要附带的污点。
<p><code>taints</code> 设定 Node API 对象被注册时要附带的污点。
若未设置此字段(即字段值为 null<code>kubeadm init</code> 期间,默认为控制平面节点添加控制平面污点。
如果你不想污染你的控制平面节点,可以将此字段设置为空列表(即 YAML 文件中的 <code>taints: []</code>
这个字段只用于节点注册。</p>

View File

@ -1656,13 +1656,13 @@ This information will be annotated to the Node API object, for later re-use</p--
</td>
<td>
<!--
<p><code>tains</code> specifies the taints the Node API object should be registered with.
<p><code>taints</code> specifies the taints the Node API object should be registered with.
If this field is unset, i.e. nil, in the <code>kubeadm init</code> process it will be defaulted
with a control-plane taint for control-plane nodes.
If you don't want to taint your control-plane node, set this field to an empty list,
i.e. <code>taints: []</code> in the YAML file. This field is solely used for Node registration.</p>
-->
<p><code>tains</code> 设定 Node API 对象被注册时要附带的污点。
<p><code>taints</code> 设定 Node API 对象被注册时要附带的污点。
若未设置此字段(即字段值为 null<code>kubeadm init</code> 期间,默认为控制平面节点添加控制平面污点。
如果你不想污染你的控制平面节点,可以将此字段设置为空列表(即 YAML 文件中的 <code>taints: []</code>
这个字段只用于节点注册。</p>