Skip to content

Commit aa3f36e

Browse files
committed
Update kubeadm-config.v1beta3.md
1 parent 43974b5 commit aa3f36e

File tree

3 files changed

+22
-17
lines changed

3 files changed

+22
-17
lines changed

content/zh-cn/docs/reference/config-api/apiserver-audit.v1.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -497,9 +497,9 @@ Resources is a list of resources this rule applies to.
497497
<p>For example:
498498
'pods' matches pods.
499499
'pods/log' matches the log subresource of pods.
500-
'<em>' matches all resources and their subresources.
501-
'pods/</em>' matches all subresources of pods.
502-
'*/scale' matches all scale subresources.</p>
500+
'&ast;' matches all resources and their subresources.
501+
'pods/&ast;' matches all subresources of pods.
502+
'&ast;/scale' matches all scale subresources.</p>
503503
-->
504504
<p>例如:</p>
505505
<ul>
@@ -767,10 +767,10 @@ PolicyRule 包含一个映射,基于元数据将请求映射到某审计级别
767767
<td>
768768
<!--
769769
NonResourceURLs is a set of URL paths that should be audited.
770-
<em>s are allowed, but only as the full, final step in the path.
770+
&ast;s are allowed, but only as the full, final step in the path.
771771
Examples:
772772
&quot;/metrics&quot; - Log requests for apiserver metrics
773-
&quot;/healthz</em>&quot; - Log all health checks</p>
773+
&quot;/healthz&ast;&quot; - Log all health checks</p>
774774
-->
775775

776776
<p>

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

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ kubeadm 所提供的默认值在必要时也会保证其在多个组件之间是
145145

146146
<!--
147147
<p>Users are always allowed to override default values, with the only exception of a small subset of setting with
148-
relevance for security (e.g. enforce authorization-mode Node and RBAC on api server)</p>
148+
relevance for security (e.g. enforce authorization-mode Node and RBAC on api server).</p>
149149
<p>If the user provides a configuration types that is not expected for the action you are performing, kubeadm will
150150
ignore those types and print a warning.</p>
151151
-->
@@ -1409,7 +1409,7 @@ HostPathMount contains elements describing volumes that are mounted from the hos
14091409
</td>
14101410
</tr>
14111411
<tr><td><code>pathType</code><br/>
1412-
<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.27/#hostpathtype-v1-core"><code>core/v1.HostPathType</code></a>
1412+
<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#hostpathtype-v1-core"><code>core/v1.HostPathType</code></a>
14131413
</td>
14141414
<td>
14151415
<!--
@@ -1700,14 +1700,14 @@ Defaults to the hostname of the node if not provided.
17001700
<td>
17011701
<!--
17021702
<code>criSocket</code> is used to retrieve container runtime info.
1703-
This information will be annotated to the Node API object, for later re-use
1703+
This information will be annotated to the Node API object, for later re-use.
17041704
-->
17051705
<p><code>criSocket</code> 用来读取容器运行时的信息。
17061706
此信息会被以注解的方式添加到 Node API 对象至上,用于后续用途。</p>
17071707
</td>
17081708
</tr>
17091709
<tr><td><code>taints</code> <B><!--[Required]-->[必需]</B><br/>
1710-
<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.27/#taint-v1-core"><code>[]core/v1.Taint</code></a>
1710+
<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#taint-v1-core"><code>[]core/v1.Taint</code></a>
17111711
</td>
17121712
<td>
17131713
<!--
@@ -1750,14 +1750,19 @@ command line except without leading dash(es).
17501750
<td>
17511751
<!--
17521752
<code>ignorePreflightErrors</code> provides a list of pre-flight errors to be ignored when
1753-
the current node is registered.
1753+
the current node is registered, e.g.
1754+
<code>IsPrevilegedUser,Swap</code>.
1755+
Value <code>all</code> ignores errors from all checks.
17541756
-->
1755-
<p><code>ignorePreflightErrors</code> 提供一组在当前节点被注册时可以
1756-
忽略掉的预检错误。</p>
1757+
<p>
1758+
<code>ignorePreflightErrors</code> 提供一组在当前节点被注册时可以忽略掉的预检错误。
1759+
例如:<code>IsPrevilegedUser,Swap</code>。
1760+
取值 <code>all</code> 忽略所有检查的错误。
1761+
</p>
17571762
</td>
17581763
</tr>
17591764
<tr><td><code>imagePullPolicy</code><br/>
1760-
<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.27/#pullpolicy-v1-core"><code>core/v1.PullPolicy</code></a>
1765+
<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#pullpolicy-v1-core"><code>core/v1.PullPolicy</code></a>
17611766
</td>
17621767
<td>
17631768
<!--
@@ -1881,7 +1886,7 @@ for, so other administrators can know its purpose.
18811886
</td>
18821887
</tr>
18831888
<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>
1889+
<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#time-v1-meta"><code>meta/v1.Time</code></a>
18851890
</td>
18861891
<td>
18871892
<!--

content/zh-cn/docs/reference/config-api/kubelet-credentialprovider.v1.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,9 @@ auth 是一个映射,包含传递给 kubelet 的身份验证信息。
132132
<!--
133133
Each key in the map is a pattern which can optionally contain a port and a path.
134134
Globs can be used in the domain, but not in the port or the path. Globs are supported
135-
as subdomains like <code>&ast;.k8s.io</code> or <code>k8s.&ast;.io</code>, and top-level-domains such as <code>k8s.&ast;</code>.
136-
Matching partial subdomains like <code>app&ast;.k8s.io</code> is also supported. Each glob can only match
137-
a single subdomain segment, so <code>&ast;.io</code> does not match <code>&ast;.k8s.io</code>.</p>
135+
as subdomains like '&ast;.k8s.io' or 'k8s.&ast;.io', and top-level-domains such as 'k8s.&ast;'.
136+
Matching partial subdomains like 'app&ast;.k8s.io' is also supported. Each glob can only match
137+
a single subdomain segment, so &ast;.io does not match &ast;.k8s.io.</p>
138138
-->
139139
<p>
140140
映射中的每个主键都可以包含端口和路径。

0 commit comments

Comments
 (0)