Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[zh-cn] typo: Fix "tains" in kubeadm-config.v1beta2 & v1beta3 documentation #34917

Merged
merged 1 commit into from
Jul 11, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down