Skip to content

Commit bee8592

Browse files
author
zhenghao.zhu
committed
[zh]resync page kubeadm-config.v1beta3
1 parent c6ff7b4 commit bee8592

File tree

1 file changed

+139
-139
lines changed

1 file changed

+139
-139
lines changed

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

Lines changed: 139 additions & 139 deletions
Original file line numberDiff line numberDiff line change
@@ -445,143 +445,7 @@ node only (e.g. the node ip).</p>
445445
- [ClusterConfiguration](#kubeadm-k8s-io-v1beta3-ClusterConfiguration)
446446
- [InitConfiguration](#kubeadm-k8s-io-v1beta3-InitConfiguration)
447447
- [JoinConfiguration](#kubeadm-k8s-io-v1beta3-JoinConfiguration)
448-
449-
## `BootstrapToken` {#BootstrapToken}
450-
451-
<!--
452-
**Appears in:**
453-
-->
454-
**出现在:**
455-
456-
- [InitConfiguration](#kubeadm-k8s-io-v1beta3-InitConfiguration)
457448

458-
<!--
459-
BootstrapToken describes one bootstrap token, stored as a Secret in the cluster
460-
-->
461-
<p>BootstrapToken 描述的是一个启动引导令牌,以 Secret 形式存储在集群中。</p>
462-
463-
<table class="table">
464-
<thead><tr><th width="30%"><!--Field-->字段</th><th><!--Description-->描述</th></tr></thead>
465-
<tbody>
466-
467-
<tr><td><code>token</code> <B><!--[Required]-->[必需]</B><br/>
468-
<a href="#BootstrapTokenString"><code>BootstrapTokenString</code></a>
469-
</td>
470-
<td>
471-
<!--
472-
<code>token</code> is used for establishing bidirectional trust between nodes and control-planes.
473-
Used for joining nodes in the cluster.
474-
-->
475-
<p><code>token</code> 用来在节点与控制面之间建立双向的信任关系。
476-
在向集群中添加节点时使用。</p>
477-
</td>
478-
</tr>
479-
<tr><td><code>description</code><br/>
480-
<code>string</code>
481-
</td>
482-
<td>
483-
<!--
484-
<code>description</code> sets a human-friendly message why this token exists and what it's used
485-
for, so other administrators can know its purpose.
486-
-->
487-
<p><code>description</code> 设置一个对人友好的消息,说明为什么此令牌
488-
会存在以及其目标用途,这样其他管理员能够知道其目的。</p>
489-
</td>
490-
</tr>
491-
<tr><td><code>ttl</code><br/>
492-
<a href="https://pkg.go.dev/k8s.io/apimachinery/pkg/apis/meta/v1#Duration"><code>meta/v1.Duration</code></a>
493-
</td>
494-
<td>
495-
<!--
496-
<code>ttl</code> defines the time to live for this token. Defaults to <code>24h</code>.
497-
<code>expires</code> and <code>ttl</code> are mutually exclusive.
498-
-->
499-
<p><code>ttl</code> 定义此令牌的声明周期。默认为 <code>24h</code>。
500-
<code>expires</code> 和 <code>ttl</code> 是互斥的。</p>
501-
</td>
502-
</tr>
503-
<tr><td><code>expires</code><br/>
504-
<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta"><code>meta/v1.Time</code></a>
505-
</td>
506-
<td>
507-
<!--
508-
<code>expires</code> specifies the timestamp when this token expires. Defaults to being set
509-
dynamically at runtime based on the <code>ttl</code>. <code>expires</code> and <code>ttl</code> are mutually exclusive.
510-
-->
511-
<p><code>expires</code> 设置此令牌过期的时间戳。默认为在运行时基于
512-
<code>ttl</code> 来决定。
513-
<code>expires</code> 和 <code>ttl</code> 是互斥的。</p>
514-
</td>
515-
</tr>
516-
<tr><td><code>usages</code><br/>
517-
<code>[]string</code>
518-
</td>
519-
<td>
520-
<!--
521-
<code>usages</code> describes the ways in which this token can be used. Can by default be used
522-
for establishing bidirectional trust, but that can be changed here.
523-
-->
524-
<p><code>usages</code> 描述此令牌的可能使用方式。默认情况下,令牌可用于
525-
建立双向的信任关系;不过这里可以改变默认用途。</p>
526-
</td>
527-
</tr>
528-
<tr><td><code>groups</code><br/>
529-
<code>[]string</code>
530-
</td>
531-
<td>
532-
<!--
533-
<code>groups</code> specifies the extra groups that this token will authenticate as when/if
534-
used for authentication
535-
-->
536-
<p><code>groups</code> 设定此令牌被用于身份认证时对应的附加用户组。</p>
537-
</td>
538-
</tr>
539-
</tbody>
540-
</table>
541-
542-
## `BootstrapTokenString` {#BootstrapTokenString}
543-
544-
<!--
545-
**Appears in:**
546-
-->
547-
**出现在:**
548-
549-
- [BootstrapToken](#BootstrapToken)
550-
551-
<!--
552-
BootstrapTokenString is a token of the format <code>abcdef.abcdef0123456789</code> that is used
553-
for both validation of the practically of the API server from a joining node's point
554-
of view and as an authentication method for the node in the bootstrap phase of
555-
&quot;kubeadm join&quot;. This token is and should be short-lived.
556-
-->
557-
<p>BootstrapTokenString 形式为 <code>abcdef.abcdef0123456789</code> 的一个令牌,
558-
用来从加入集群的节点角度验证 API 服务器的身份,或者 &quot;kubeadm join&quot;
559-
在节点启动引导是作为一种身份认证方法。
560-
此令牌的生命期是短暂的,并且应该如此。</p>
561-
<table class="table">
562-
<thead><tr><th width="30%"><!--Field-->字段</th><th><!--Description-->描述</th></tr></thead>
563-
<tbody>
564-
565-
<tr><td><code>-</code> <B><!--[Required]-->[必需]</B><br/>
566-
<code>string</code>
567-
</td>
568-
<td>
569-
<!--span class="text-muted">No description provided.</span-->
570-
<span class="text-muted">无描述。</span>
571-
</td>
572-
</tr>
573-
<tr><td><code>-</code> <B><!--[Required]-->[必需]</B><br/>
574-
<code>string</code>
575-
</td>
576-
<td>
577-
<!--span class="text-muted">No description provided.</span-->
578-
<span class="text-muted">无描述。</span>
579-
</td>
580-
</tr>
581-
</tbody>
582-
</table>
583-
584-
585449

586450
## `ClusterConfiguration` {#kubeadm-k8s-io-v1beta3-ClusterConfiguration}
587451

@@ -1545,7 +1409,7 @@ HostPathMount contains elements describing volumes that are mounted from the hos
15451409
</td>
15461410
</tr>
15471411
<tr><td><code>pathType</code><br/>
1548-
<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#hostpathtype-v1-core"><code>core/v1.HostPathType</code></a>
1412+
<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.27/#hostpathtype-v1-core"><code>core/v1.HostPathType</code></a>
15491413
</td>
15501414
<td>
15511415
<!--
@@ -1843,7 +1707,7 @@ This information will be annotated to the Node API object, for later re-use
18431707
</td>
18441708
</tr>
18451709
<tr><td><code>taints</code> <B><!--[Required]-->[必需]</B><br/>
1846-
<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#taint-v1-core"><code>[]core/v1.Taint</code></a>
1710+
<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.27/#taint-v1-core"><code>[]core/v1.Taint</code></a>
18471711
</td>
18481712
<td>
18491713
<!--
@@ -1893,7 +1757,7 @@ the current node is registered.
18931757
</td>
18941758
</tr>
18951759
<tr><td><code>imagePullPolicy</code><br/>
1896-
<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#pullpolicy-v1-core"><code>core/v1.PullPolicy</code></a>
1760+
<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.27/#pullpolicy-v1-core"><code>core/v1.PullPolicy</code></a>
18971761
</td>
18981762
<td>
18991763
<!--
@@ -1961,3 +1825,139 @@ first alpha-numerically.
19611825
</tr>
19621826
</tbody>
19631827
</table>
1828+
1829+
## `BootstrapToken` {#BootstrapToken}
1830+
1831+
<!--
1832+
**Appears in:**
1833+
-->
1834+
**出现在:**
1835+
1836+
- [InitConfiguration](#kubeadm-k8s-io-v1beta3-InitConfiguration)
1837+
1838+
<!--
1839+
BootstrapToken describes one bootstrap token, stored as a Secret in the cluster
1840+
-->
1841+
<p>BootstrapToken 描述的是一个启动引导令牌,以 Secret 形式存储在集群中。</p>
1842+
1843+
<table class="table">
1844+
<thead><tr><th width="30%"><!--Field-->字段</th><th><!--Description-->描述</th></tr></thead>
1845+
<tbody>
1846+
1847+
<tr><td><code>token</code> <B><!--[Required]-->[必需]</B><br/>
1848+
<a href="#BootstrapTokenString"><code>BootstrapTokenString</code></a>
1849+
</td>
1850+
<td>
1851+
<!--
1852+
<code>token</code> is used for establishing bidirectional trust between nodes and control-planes.
1853+
Used for joining nodes in the cluster.
1854+
-->
1855+
<p><code>token</code> 用来在节点与控制面之间建立双向的信任关系。
1856+
在向集群中添加节点时使用。</p>
1857+
</td>
1858+
</tr>
1859+
<tr><td><code>description</code><br/>
1860+
<code>string</code>
1861+
</td>
1862+
<td>
1863+
<!--
1864+
<code>description</code> sets a human-friendly message why this token exists and what it's used
1865+
for, so other administrators can know its purpose.
1866+
-->
1867+
<p><code>description</code> 设置一个对人友好的消息,说明为什么此令牌
1868+
会存在以及其目标用途,这样其他管理员能够知道其目的。</p>
1869+
</td>
1870+
</tr>
1871+
<tr><td><code>ttl</code><br/>
1872+
<a href="https://pkg.go.dev/k8s.io/apimachinery/pkg/apis/meta/v1#Duration"><code>meta/v1.Duration</code></a>
1873+
</td>
1874+
<td>
1875+
<!--
1876+
<code>ttl</code> defines the time to live for this token. Defaults to <code>24h</code>.
1877+
<code>expires</code> and <code>ttl</code> are mutually exclusive.
1878+
-->
1879+
<p><code>ttl</code> 定义此令牌的声明周期。默认为 <code>24h</code>。
1880+
<code>expires</code> 和 <code>ttl</code> 是互斥的。</p>
1881+
</td>
1882+
</tr>
1883+
<tr><td><code>expires</code><br/>
1884+
<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.27/#time-v1-meta"><code>meta/v1.Time</code></a>
1885+
</td>
1886+
<td>
1887+
<!--
1888+
<code>expires</code> specifies the timestamp when this token expires. Defaults to being set
1889+
dynamically at runtime based on the <code>ttl</code>. <code>expires</code> and <code>ttl</code> are mutually exclusive.
1890+
-->
1891+
<p><code>expires</code> 设置此令牌过期的时间戳。默认为在运行时基于
1892+
<code>ttl</code> 来决定。
1893+
<code>expires</code> 和 <code>ttl</code> 是互斥的。</p>
1894+
</td>
1895+
</tr>
1896+
<tr><td><code>usages</code><br/>
1897+
<code>[]string</code>
1898+
</td>
1899+
<td>
1900+
<!--
1901+
<code>usages</code> describes the ways in which this token can be used. Can by default be used
1902+
for establishing bidirectional trust, but that can be changed here.
1903+
-->
1904+
<p><code>usages</code> 描述此令牌的可能使用方式。默认情况下,令牌可用于
1905+
建立双向的信任关系;不过这里可以改变默认用途。</p>
1906+
</td>
1907+
</tr>
1908+
<tr><td><code>groups</code><br/>
1909+
<code>[]string</code>
1910+
</td>
1911+
<td>
1912+
<!--
1913+
<code>groups</code> specifies the extra groups that this token will authenticate as when/if
1914+
used for authentication
1915+
-->
1916+
<p><code>groups</code> 设定此令牌被用于身份认证时对应的附加用户组。</p>
1917+
</td>
1918+
</tr>
1919+
</tbody>
1920+
</table>
1921+
1922+
## `BootstrapTokenString` {#BootstrapTokenString}
1923+
1924+
<!--
1925+
**Appears in:**
1926+
-->
1927+
**出现在:**
1928+
1929+
- [BootstrapToken](#BootstrapToken)
1930+
1931+
<!--
1932+
BootstrapTokenString is a token of the format <code>abcdef.abcdef0123456789</code> that is used
1933+
for both validation of the practically of the API server from a joining node's point
1934+
of view and as an authentication method for the node in the bootstrap phase of
1935+
&quot;kubeadm join&quot;. This token is and should be short-lived.
1936+
-->
1937+
<p>BootstrapTokenString 形式为 <code>abcdef.abcdef0123456789</code> 的一个令牌,
1938+
用来从加入集群的节点角度验证 API 服务器的身份,或者 &quot;kubeadm join&quot;
1939+
在节点启动引导是作为一种身份认证方法。
1940+
此令牌的生命期是短暂的,并且应该如此。</p>
1941+
<table class="table">
1942+
<thead><tr><th width="30%"><!--Field-->字段</th><th><!--Description-->描述</th></tr></thead>
1943+
<tbody>
1944+
1945+
<tr><td><code>-</code> <B><!--[Required]-->[必需]</B><br/>
1946+
<code>string</code>
1947+
</td>
1948+
<td>
1949+
<!--span class="text-muted">No description provided.</span-->
1950+
<span class="text-muted">无描述。</span>
1951+
</td>
1952+
</tr>
1953+
<tr><td><code>-</code> <B><!--[Required]-->[必需]</B><br/>
1954+
<code>string</code>
1955+
</td>
1956+
<td>
1957+
<!--span class="text-muted">No description provided.</span-->
1958+
<span class="text-muted">无描述。</span>
1959+
</td>
1960+
</tr>
1961+
</tbody>
1962+
</table>
1963+

0 commit comments

Comments
 (0)