Skip to content

Commit d4ead1b

Browse files
authored
Merge pull request #34917 from cavcrosby/fix-taints-spelling-zh-cn
[zh-cn] typo: Fix "tains" in kubeadm-config.v1beta2 & v1beta3 documentation
2 parents b9047bd + 1613be6 commit d4ead1b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

content/zh-cn/docs/reference/config-api/kubeadm-config.v1beta2.md

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

content/zh-cn/docs/reference/config-api/kubeadm-config.v1beta3.md

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

0 commit comments

Comments
 (0)