Skip to content

Commit 72cd495

Browse files
authored
Merge pull request #33809 from JarHMJ/kubeadm-16
[zh] sync v1.24 kubeadm-16
2 parents fcaa0b6 + 7cab365 commit 72cd495

File tree

2 files changed

+70
-40
lines changed

2 files changed

+70
-40
lines changed

content/zh/docs/reference/setup-tools/kubeadm/generated/kubeadm_init_phase_kubeconfig_admin.md

Lines changed: 33 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
<!--
2+
The file is auto-generated from the Go source code of the component using a generic
3+
[generator](https://github.com/kubernetes-sigs/reference-docs/). To learn how
4+
to generate the reference documentation, please read
5+
[Contributing to the reference documentation](/docs/contribute/generate-ref-docs/).
6+
To update the reference conent, please follow the
7+
[Contributing upstream](/docs/contribute/generate-ref-docs/contribute-upstream/)
8+
guide. You can file document formatting bugs against the
9+
[reference-docs](https://github.com/kubernetes-sigs/reference-docs/) project.
10+
-->
11+
12+
<!--
13+
Generate a kubeconfig file for the admin to use and for kubeadm itself
14+
-->
15+
为管理员(admin)和 kubeadm 本身生成 kubeconfig 文件
116

217
<!--
318
### Synopsis
@@ -34,9 +49,9 @@ kubeadm init phase kubeconfig admin [flags]
3449
<tr>
3550
<td></td><td style="line-height: 130%; word-wrap: break-word;">
3651
<!--
37-
The IP address the API Server will advertise it's listening on. If not set the default network interface will be used.
52+
<p>The IP address the API Server will advertise it's listening on. If not set the default network interface will be used.</p>
3853
-->
39-
API 服务器所公布的其正在监听的 IP 地址。如果未设置,则使用默认的网络接口。
54+
<p>API 服务器所公布的其正在监听的 IP 地址。如果未设置,则使用默认的网络接口。</p>
4055
</td>
4156
</tr>
4257

@@ -51,9 +66,9 @@ API 服务器所公布的其正在监听的 IP 地址。如果未设置,则使
5166
<tr>
5267
<td></td><td style="line-height: 130%; word-wrap: break-word;">
5368
<!--
54-
Port for the API Server to bind to.
69+
<p>Port for the API Server to bind to.</p>
5570
-->
56-
要绑定到 API 服务器的端口。
71+
<p>要绑定到 API 服务器的端口。</p>
5772
</td>
5873
</tr>
5974

@@ -68,9 +83,9 @@ Port for the API Server to bind to.
6883
<tr>
6984
<td></td><td style="line-height: 130%; word-wrap: break-word;">
7085
<!--
71-
The path where to save and store the certificates.
86+
<p>The path where to save and store the certificates.</p>
7287
-->
73-
保存和存储证书的路径。
88+
<p>保存和存储证书的路径。</p>
7489
</td>
7590
</tr>
7691

@@ -80,9 +95,9 @@ The path where to save and store the certificates.
8095
<tr>
8196
<td></td><td style="line-height: 130%; word-wrap: break-word;">
8297
<!--
83-
Path to kubeadm configuration file.
98+
<p>Path to kubeadm configuration file.</p>
8499
-->
85-
kubeadm 配置文件的路径。
100+
<p>kubeadm 配置文件的路径。</p>
86101
</td>
87102
</tr>
88103

@@ -92,9 +107,9 @@ kubeadm 配置文件的路径。
92107
<tr>
93108
<td></td><td style="line-height: 130%; word-wrap: break-word;">
94109
<!--
95-
Specify a stable IP address or DNS name for the control plane.
110+
<p>Specify a stable IP address or DNS name for the control plane.</p>
96111
-->
97-
为控制平面指定一个稳定的 IP 地址或 DNS 名称。
112+
<p>为控制平面指定一个稳定的 IP 地址或 DNS 名称。</p>
98113
</td>
99114
</tr>
100115

@@ -104,9 +119,9 @@ Specify a stable IP address or DNS name for the control plane.
104119
<tr>
105120
<td></td><td style="line-height: 130%; word-wrap: break-word;">
106121
<!--
107-
help for admin
122+
<p>help for admin</p>
108123
-->
109-
admin 操作的帮助命令
124+
<p>admin 操作的帮助命令</p>
110125
</td>
111126
</tr>
112127

@@ -121,9 +136,9 @@ admin 操作的帮助命令
121136
<tr>
122137
<td></td><td style="line-height: 130%; word-wrap: break-word;">
123138
<!--
124-
The path where to save the kubeconfig file.
139+
<p>The path where to save the kubeconfig file.</p>
125140
-->
126-
kubeconfig 文件的保存路径。
141+
<p>kubeconfig 文件的保存路径。</p>
127142
</td>
128143
</tr>
129144

@@ -138,9 +153,9 @@ kubeconfig 文件的保存路径。
138153
<tr>
139154
<td></td><td style="line-height: 130%; word-wrap: break-word;">
140155
<!--
141-
Choose a specific Kubernetes version for the control plane.
156+
<p>Choose a specific Kubernetes version for the control plane.</p>
142157
-->
143-
为控制平面指定特定的 Kubernetes 版本。
158+
<p>为控制平面指定特定的 Kubernetes 版本。</p>
144159
</td>
145160
</tr>
146161

@@ -166,9 +181,9 @@ Choose a specific Kubernetes version for the control plane.
166181
<tr>
167182
<td></td><td style="line-height: 130%; word-wrap: break-word;">
168183
<!--
169-
[EXPERIMENTAL] The path to the 'real' host root filesystem.
184+
<p>[EXPERIMENTAL] The path to the 'real' host root filesystem.</p>
170185
-->
171-
[实验] 到 '真实' 主机根文件系统的路径。
186+
<p>[实验] 到 '真实' 主机根文件系统的路径。</p>
172187
</td>
173188
</tr>
174189

content/zh/docs/reference/setup-tools/kubeadm/generated/kubeadm_join_phase_control-plane-prepare_control-plane.md

Lines changed: 37 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
<!--
2+
The file is auto-generated from the Go source code of the component using a generic
3+
[generator](https://github.com/kubernetes-sigs/reference-docs/). To learn how
4+
to generate the reference documentation, please read
5+
[Contributing to the reference documentation](/docs/contribute/generate-ref-docs/).
6+
To update the reference conent, please follow the
7+
[Contributing upstream](/docs/contribute/generate-ref-docs/contribute-upstream/)
8+
guide. You can file document formatting bugs against the
9+
[reference-docs](https://github.com/kubernetes-sigs/reference-docs/) project.
10+
-->
11+
12+
<!--
13+
Generate the manifests for the new control plane components
14+
-->
15+
为新的控制平面组件生成清单
116

217
<!--
318
### Synopsis
@@ -34,9 +49,9 @@ kubeadm join phase control-plane-prepare control-plane [flags]
3449
<tr>
3550
<td></td><td style="line-height: 130%; word-wrap: break-word;">
3651
<!--
37-
If the node should host a new control plane instance, the IP address the API Server will advertise it's listening on. If not set the default network interface will be used.
52+
<p>If the node should host a new control plane instance, the IP address the API Server will advertise it's listening on. If not set the default network interface will be used.</p>
3853
-->
39-
对于将要托管新的控制平面实例的节点,指定 API 服务器将公布的其正在侦听的 IP 地址。如果未设置,则使用默认网络接口。
54+
<p>对于将要托管新的控制平面实例的节点,指定 API 服务器将公布的其正在侦听的 IP 地址。如果未设置,则使用默认网络接口。</p>
4055
</td>
4156
</tr>
4257

@@ -51,9 +66,9 @@ If the node should host a new control plane instance, the IP address the API Ser
5166
<tr>
5267
<td></td><td style="line-height: 130%; word-wrap: break-word;">
5368
<!--
54-
If the node should host a new control plane instance, the port for the API Server to bind to.
69+
<p>If the node should host a new control plane instance, the port for the API Server to bind to.</p>
5570
-->
56-
针对将要托管新的控制平面实例的节点,设置 API 服务器要绑定的端口。
71+
<p>针对将要托管新的控制平面实例的节点,设置 API 服务器要绑定的端口。</p>
5772
</td>
5873
</tr>
5974

@@ -63,9 +78,9 @@ If the node should host a new control plane instance, the port for the API Serve
6378
<tr>
6479
<td></td><td style="line-height: 130%; word-wrap: break-word;">
6580
<!--
66-
Path to kubeadm config file.
81+
<p>Path to kubeadm config file.</p>
6782
-->
68-
kubeadm 配置文件的路径。
83+
<p>kubeadm 配置文件的路径。</p>
6984
</td>
7085
</tr>
7186

@@ -75,37 +90,37 @@ kubeadm 配置文件的路径。
7590
<tr>
7691
<td></td><td style="line-height: 130%; word-wrap: break-word;">
7792
<!--
78-
Create a new control plane instance on this node
93+
<p>Create a new control plane instance on this node</p>
7994
-->
80-
在此节点上创建一个新的控制平面实例
95+
<p>在此节点上创建一个新的控制平面实例</p>
8196
</td>
8297
</tr>
8398

8499
<tr>
85-
<td colspan="2">--experimental-patches string</td>
100+
<td colspan="2">-h, --help</td>
86101
</tr>
87102
<tr>
88103
<td></td><td style="line-height: 130%; word-wrap: break-word;">
89-
<!--
90-
Path to a directory that contains files named "target[suffix][+patchtype].extension". For example, "kube-apiserver0+merge.yaml" or just "etcd.json". "patchtype" can be one of "strategic", "merge" or "json" and they match the patch formats supported by kubectl. The default "patchtype" is "strategic". "extension" must be either "json" or "yaml". "suffix" is an optional string that can be used to determine which patches are applied first alpha-numerically.
104+
<!--
105+
<p>help for control-plane</p>
91106
-->
92-
包含名为 "target[suffix][+patchtype].extension" 的文件的目录的路径。
93-
例如,"kube-apiserver0+merge.yaml" 或仅仅是 "etcd.json"。
94-
"patchtype" 可以是 "strategic"、"merge" 或 "json" 之一,并且它们与 kubectl 支持的补丁格式匹配。
95-
默认的 "patchtype" 为 "strategic"。 "extension" 必须为 "json" 或 "yaml"。
96-
"suffix" 是一个可选字符串,可用于确定首先按字母顺序应用哪些补丁。
107+
<p>control-plane 操作的帮助命令</p>
97108
</td>
98109
</tr>
99110

100111
<tr>
101-
<td colspan="2">-h, --help</td>
112+
<td colspan="2">--patches string</td>
102113
</tr>
103114
<tr>
104115
<td></td><td style="line-height: 130%; word-wrap: break-word;">
105-
<!--
106-
help for control-plane
116+
<!--
117+
<p>Path to a directory that contains files named "target[suffix][+patchtype].extension". For example, "kube-apiserver0+merge.yaml" or just "etcd.json". "patchtype" can be one of "strategic", "merge" or "json" and they match the patch formats supported by kubectl. The default "patchtype" is "strategic". "extension" must be either "json" or "yaml". "suffix" is an optional string that can be used to determine which patches are applied first alpha-numerically.</p>
107118
-->
108-
control-plane 操作的帮助命令
119+
<p>包含名为 "target[suffix][+patchtype].extension" 的文件的目录的路径。
120+
例如,"kube-apiserver0+merge.yaml" 或仅仅是 "etcd.json"。
121+
"patchtype" 可以是 "strategic"、"merge" 或 "json" 之一,并且它们与 kubectl 支持的补丁格式匹配。
122+
默认的 "patchtype" 为 "strategic"。 "extension" 必须为 "json" 或 "yaml"。
123+
"suffix" 是一个可选字符串,可用于确定首先按字母顺序应用哪些补丁。</p>
109124
</td>
110125
</tr>
111126

@@ -131,9 +146,9 @@ control-plane 操作的帮助命令
131146
<tr>
132147
<td></td><td style="line-height: 130%; word-wrap: break-word;">
133148
<!--
134-
[EXPERIMENTAL] The path to the 'real' host root filesystem.
149+
<p>[EXPERIMENTAL] The path to the 'real' host root filesystem.</p>
135150
-->
136-
[实验] 指向 '真实' 宿主机根文件系统的路径。
151+
<p>[实验] 指向 '真实' 宿主机根文件系统的路径。</p>
137152
</td>
138153
</tr>
139154

0 commit comments

Comments
 (0)