Skip to content

Commit 8ecb73f

Browse files
committed
[zh] Sync /config-api/kubeadm-config.v1beta3.md
1 parent 072e031 commit 8ecb73f

File tree

1 file changed

+134
-136
lines changed

1 file changed

+134
-136
lines changed

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

Lines changed: 134 additions & 136 deletions
Original file line numberDiff line numberDiff line change
@@ -446,6 +446,140 @@ node only (e.g. the node ip).</p>
446446
- [InitConfiguration](#kubeadm-k8s-io-v1beta3-InitConfiguration)
447447
- [JoinConfiguration](#kubeadm-k8s-io-v1beta3-JoinConfiguration)
448448

449+
## `BootstrapToken` {#BootstrapToken}
450+
451+
<!--
452+
**Appears in:**
453+
-->
454+
**出现在:**
455+
456+
- [InitConfiguration](#kubeadm-k8s-io-v1beta3-InitConfiguration)
457+
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.28/#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>
449583

450584
## `ClusterConfiguration` {#kubeadm-k8s-io-v1beta3-ClusterConfiguration}
451585

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

0 commit comments

Comments
 (0)