@@ -292,7 +292,7 @@ https://godoc.org/k8s.io/kubelet/config/v1beta1#KubeletConfiguration。</p>
292
292
</span ><span style =" color :#bbb " > </span ><span style =" color :#000 ;font-weight :bold " >criSocket</span >:<span style =" color :#bbb " > </span ><span style =" color :#d14 " >" ; /var/run/dockershim.sock" ; </span ><span style =" color :#bbb " >
293
293
</span ><span style =" color :#bbb " > </span ><span style =" color :#000 ;font-weight :bold " >taints</span >:<span style =" color :#bbb " >
294
294
</span ><span style =" color :#bbb " > </span >- <span style =" color :#000 ;font-weight :bold " >key</span >:<span style =" color :#bbb " > </span ><span style =" color :#d14 " >" ; kubeadmNode" ; </span ><span style =" color :#bbb " >
295
- </span ><span style =" color :#bbb " > </span ><span style =" color :#000 ;font-weight :bold " >value</span >:<span style =" color :#bbb " > </span ><span style =" color :#d14 " >" ; master " ; </span ><span style =" color :#bbb " >
295
+ </span ><span style =" color :#bbb " > </span ><span style =" color :#000 ;font-weight :bold " >value</span >:<span style =" color :#bbb " > </span ><span style =" color :#d14 " >" ; someValue " ; </span ><span style =" color :#bbb " >
296
296
</span ><span style =" color :#bbb " > </span ><span style =" color :#000 ;font-weight :bold " >effect</span >:<span style =" color :#bbb " > </span ><span style =" color :#d14 " >" ; NoSchedule" ; </span ><span style =" color :#bbb " >
297
297
</span ><span style =" color :#bbb " > </span ><span style =" color :#000 ;font-weight :bold " >kubeletExtraArgs</span >:<span style =" color :#bbb " >
298
298
</span ><span style =" color :#bbb " > </span ><span style =" color :#000 ;font-weight :bold " >v</span >:<span style =" color :#bbb " > </span ><span style =" color :#099 " >4</span ><span style =" color :#bbb " >
@@ -1274,9 +1274,10 @@ cluster information.
1274
1274
<p >
1275
1275
<!--
1276
1276
<code>tlsBootstrapToken</code> is a token used for TLS bootstrapping.
1277
- If <code>bootstrapToken</code> is set, this field is defaulted to <code>.bootstrapToken.token</code>, but
1278
- can be overridden. If <code>file<code> is set, this field ∗∗must be set∗∗ in case the KubeConfigFile
1279
- does not contain any other authentication information
1277
+ If <code>bootstrapToken</code> is set, this field is defaulted to <code>.bootstrapToken.token</code>,
1278
+ but can be overridden.
1279
+ If <code>file</code> is set, this field <strong>must be set</strong> in case the KubeConfigFile does not
1280
+ contain any other authentication information.
1280
1281
-->
1281
1282
<code >tlsBootstrapToken</code > 是 TLS 启动引导过程中使用的令牌。
1282
1283
如果设置了 <code >bootstrapToken</code >,则此字段默认值为 <code >.bootstrapToken.token</code >,
@@ -1783,29 +1784,28 @@ Defaults to the hostname of the node if not provided.</p>
1783
1784
</td >
1784
1785
<td >
1785
1786
<!--
1786
- <p><code>criSocket<code> is used to retrieve container runtime information.
1787
- This information will be annotated to the Node API object, for later re-use</p>
1787
+ <p><code>criSocket</ code> is used to retrieve container runtime information. This information will
1788
+ be annotated to the Node API object, for later re-use. </p>
1788
1789
-->
1789
1790
<p ><code >criSocket</code > 用来读取容器运行时的信息。
1790
- 此信息会被以注解的方式添加到 Node API 对象至上 ,用于后续用途。</p >
1791
+ 此信息会被以注解的方式添加到 Node API 对象之上 ,用于后续用途。</p >
1791
1792
</td >
1792
1793
</tr >
1793
1794
<tr ><td ><code >taints</code > <B ><!-- [Required]--> [必需]</B ><br />
1794
1795
<a href =" https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#taint-v1-core " ><code >[ ] core/v1.Taint</code ></a >
1795
1796
</td >
1796
1797
<td >
1797
- <!--
1798
+ <!--
1798
1799
<p><code>taints</code> specifies the taints the Node API object should be registered with.
1799
- If this field is unset, i.e. nil, in the <code>kubeadm init</code> process it will be defaulted to
1800
- <code>'node-role.kubernetes.io/master=""'</code>.
1801
- If you don't want to taint your control-plane node, set this field to an empty list,
1802
- i.e. <code>taints: []</code> in the YAML file. This field is solely used for Node registration.</p>
1803
- -->
1800
+ If this field is unset, i.e. nil, in the <code>kubeadm init</code> process it will be defaulted with
1801
+ a control-plane taint for control-plane nodes. If you don't want to taint your control-plane
1802
+ node, set this field to an empty list, i.e. <code>taints: []</code>, in the YAML file. This field is
1803
+ solely used for Node registration.</p>
1804
+ -->
1804
1805
<p ><code >tains</code > 设定 Node API 对象被注册时要附带的污点。
1805
- 若未设置此字段(即字段值为 null), 在 <code >kubeadm init</code > 期间,节点与控制面之间的通信。
1806
- 默认值为污点默认设置为 <code >taints: [ 'node-role.kubernetes.io/master:" ;" ; '] </code >。
1807
- 如果你不希望为控制面节点设置污点,可以在 YAML 中将此字段设置为空的列表,即
1808
- <code >taints: [ ] </code >。 此字段仅用在 Node 注册期间。</p >
1806
+ 若未设置此字段(即字段值为 null),在 <code >kubeadm init</code > 期间,默认为控制平面节点添加控制平面污点。
1807
+ 如果你不想污染你的控制平面节点,可以将此字段设置为空列表(即 YAML 文件中的 <code >taints: [ ] </code >),
1808
+ 这个字段只用于节点注册。</p >
1809
1809
</td >
1810
1810
</tr >
1811
1811
<tr ><td ><code >kubeletExtraArgs</code > <B ><!-- [Required]--> [必需]</B ><br />
0 commit comments