Skip to content

Commit c9390e2

Browse files
authored
Merge pull request #25267 from howieyuen/kubeadm-generated
[zh] sync changes in docs/reference/setup-tools/kubeadm/generated/ directory
2 parents d3c68aa + ecaa42b commit c9390e2

22 files changed

+213
-303
lines changed

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

Lines changed: 48 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,37 @@ kubeadm config images list [flags]
2828
</colgroup>
2929
<tbody>
3030

31+
<tr>
32+
<td colspan="2">
33+
<!-- --allow-missing-template-keys&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: true -->
34+
--allow-missing-template-keys&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;默认值:true
35+
</td>
36+
</tr>
37+
<tr>
38+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
39+
<!--
40+
If true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.
41+
-->
42+
如果设置为 true,则在模板中缺少字段或哈希表的键时忽略模板中的任何错误。
43+
仅适用于 golang 和 jsonpath 输出格式。
44+
</td>
45+
</tr>
46+
47+
<tr>
48+
<td colspan="2">
49+
<!-- -o, --experimental-output string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "text" -->
50+
-o, --experimental-output string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;默认值:"text"
51+
</td>
52+
</tr>
53+
<tr>
54+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
55+
<!--
56+
Output format. One of: text|json|yaml|go-template|go-template-file|template|templatefile|jsonpath|jsonpath-as-json|jsonpath-file.
57+
-->
58+
输出格式:text|json|yaml|go-template|go-template-file|template|templatefile|jsonpath|jsonpath-as-json|jsonpath-file 其中之一
59+
</td>
60+
</tr>
61+
3162
<tr>
3263
<td colspan="2">--config string</td>
3364
</tr>
@@ -48,7 +79,10 @@ kubeadm 配置文件的路径。
4879
<!--
4980
A set of key=value pairs that describe feature gates for various features. Options are:<br/>IPv6DualStack=true|false (ALPHA - default=false)
5081
-->
51-
一组键值对(key=value),用于描述各种特征。选项有:<br/>Auditing=true|false (ALPHA - 默认值=false)<br/>CoreDNS=true|false (默认值=true)<br/>DynamicKubeletConfig=true|false (BETA - 默认值=false)
82+
一组键值对(key=value),用于描述各种特征。选项是:
83+
<br/>Auditing=true|false (ALPHA - 默认=false)
84+
<br/>CoreDNS=true|false (默认=true)
85+
<br/>DynamicKubeletConfig=true|false (BETA - 默认=false)
5286
</td>
5387
</tr>
5488

@@ -64,6 +98,19 @@ list 操作的帮助命令
6498
</td>
6599
</tr>
66100

101+
<tr>
102+
<td colspan="2">
103+
<!-- --image-repository string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "k8s.gcr.io" -->
104+
--image-repository string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;默认值:"k8s.gcr.io"
105+
</td>
106+
</tr>
107+
<tr>
108+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
109+
<!-- Choose a container registry to pull control plane images from -->
110+
选择要从中拉取控制平面镜像的容器仓库
111+
</td>
112+
</tr>
113+
67114
<tr>
68115
<td colspan="2">
69116
<!--

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

Lines changed: 45 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -18,40 +18,42 @@ The "init" command executes the following phases:
1818
"init" 命令执行以下阶段:
1919

2020
```
21-
preflight Run pre-flight checks
22-
kubelet-start Write kubelet settings and (re)start the kubelet
23-
certs Certificate generation
24-
/ca Generate the self-signed Kubernetes CA to provision identities for other Kubernetes components
25-
/apiserver Generate the certificate for serving the Kubernetes API
26-
/apiserver-kubelet-client Generate the certificate for the API server to connect to kubelet
27-
/front-proxy-ca Generate the self-signed CA to provision identities for front proxy
28-
/front-proxy-client Generate the certificate for the front proxy client
29-
/etcd-ca Generate the self-signed CA to provision identities for etcd
30-
/etcd-server Generate the certificate for serving etcd
31-
/etcd-peer Generate the certificate for etcd nodes to communicate with each other
32-
/etcd-healthcheck-client Generate the certificate for liveness probes to healthcheck etcd
33-
/apiserver-etcd-client Generate the certificate the apiserver uses to access etcd
34-
/sa Generate a private key for signing service account tokens along with its public key
35-
kubeconfig Generate all kubeconfig files necessary to establish the control plane and the admin kubeconfig file
36-
/admin Generate a kubeconfig file for the admin to use and for kubeadm itself
37-
/kubelet Generate a kubeconfig file for the kubelet to use *only* for cluster bootstrapping purposes
38-
/controller-manager Generate a kubeconfig file for the controller manager to use
39-
/scheduler Generate a kubeconfig file for the scheduler to use
40-
control-plane Generate all static Pod manifest files necessary to establish the control plane
41-
/apiserver Generates the kube-apiserver static Pod manifest
42-
/controller-manager Generates the kube-controller-manager static Pod manifest
43-
/scheduler Generates the kube-scheduler static Pod manifest
44-
etcd Generate static Pod manifest file for local etcd
45-
/local Generate the static Pod manifest file for a local, single-node local etcd instance
46-
upload-config Upload the kubeadm and kubelet configuration to a ConfigMap
47-
/kubeadm Upload the kubeadm ClusterConfiguration to a ConfigMap
48-
/kubelet Upload the kubelet component config to a ConfigMap
49-
upload-certs Upload certificates to kubeadm-certs
50-
mark-control-plane Mark a node as a control-plane
51-
bootstrap-token Generates bootstrap tokens used to join a node to a cluster
52-
addon Install required addons for passing Conformance tests
53-
/coredns Install the CoreDNS addon to a Kubernetes cluster
54-
/kube-proxy Install the kube-proxy addon to a Kubernetes cluster
21+
preflight Run pre-flight checks
22+
certs Certificate generation
23+
/ca Generate the self-signed Kubernetes CA to provision identities for other Kubernetes components
24+
/apiserver Generate the certificate for serving the Kubernetes API
25+
/apiserver-kubelet-client Generate the certificate for the API server to connect to kubelet
26+
/front-proxy-ca Generate the self-signed CA to provision identities for front proxy
27+
/front-proxy-client Generate the certificate for the front proxy client
28+
/etcd-ca Generate the self-signed CA to provision identities for etcd
29+
/etcd-server Generate the certificate for serving etcd
30+
/etcd-peer Generate the certificate for etcd nodes to communicate with each other
31+
/etcd-healthcheck-client Generate the certificate for liveness probes to healthcheck etcd
32+
/apiserver-etcd-client Generate the certificate the apiserver uses to access etcd
33+
/sa Generate a private key for signing service account tokens along with its public key
34+
kubeconfig Generate all kubeconfig files necessary to establish the control plane and the admin kubeconfig file
35+
/admin Generate a kubeconfig file for the admin to use and for kubeadm itself
36+
/kubelet Generate a kubeconfig file for the kubelet to use *only* for cluster bootstrapping purposes
37+
/controller-manager Generate a kubeconfig file for the controller manager to use
38+
/scheduler Generate a kubeconfig file for the scheduler to use
39+
kubelet-start Write kubelet settings and (re)start the kubelet
40+
control-plane Generate all static Pod manifest files necessary to establish the control plane
41+
/apiserver Generates the kube-apiserver static Pod manifest
42+
/controller-manager Generates the kube-controller-manager static Pod manifest
43+
/scheduler Generates the kube-scheduler static Pod manifest
44+
etcd Generate static Pod manifest file for local etcd
45+
/local Generate the static Pod manifest file for a local, single-node local etcd instance
46+
upload-config Upload the kubeadm and kubelet configuration to a ConfigMap
47+
/kubeadm Upload the kubeadm ClusterConfiguration to a ConfigMap
48+
/kubelet Upload the kubelet component config to a ConfigMap
49+
upload-certs Upload certificates to kubeadm-certs
50+
mark-control-plane Mark a node as a control-plane
51+
bootstrap-token Generates bootstrap tokens used to join a node to a cluster
52+
kubelet-finalize Updates settings relevant to the kubelet after TLS bootstrap
53+
/experimental-cert-rotation Enable kubelet client certificate rotation
54+
addon Install required addons for passing Conformance tests
55+
/coredns Install the CoreDNS addon to a Kubernetes cluster
56+
/kube-proxy Install the kube-proxy addon to a Kubernetes cluster
5557
```
5658

5759
```
@@ -190,14 +192,18 @@ Don't apply any changes; just output what would be done.
190192
</tr>
191193

192194
<tr>
193-
<td colspan="2">-k, --experimental-kustomize string</td>
195+
<td colspan="2">--experimental-patches string</td>
194196
</tr>
195197
<tr>
196198
<td></td><td style="line-height: 130%; word-wrap: break-word;">
197-
<!--
198-
The path where kustomize patches for static pod manifests are stored.
199-
-->
200-
用于存储 kustomize 为静态 pod 清单所提供的补丁的路径。
199+
<!--
200+
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.
201+
-->
202+
包含名为 "target[suffix][+patchtype].extension" 的文件的目录路径。
203+
例如,"kube-apiserver0+merge.yaml" 或仅仅是 "etcd.json"。
204+
"patchtype" 可以是 "strategic"、"merge" 或 "json" 之一,并且它们与 kubectl 支持的补丁格式匹配。
205+
默认的 "patchtype" 为 "strategic"。 "extension" 必须为 "json" 或 "yaml"。
206+
"suffix" 是一个可选字符串,可用于确定首先按字母顺序应用哪些补丁。
201207
</td>
202208
</tr>
203209

content/zh/docs/reference/setup-tools/kubeadm/generated/kubeadm_init_phase_certs_apiserver-etcd-client.md

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -65,27 +65,6 @@ kubeadm 配置文件的路径。
6565
</td>
6666
</tr>
6767

68-
<tr>
69-
<td colspan="2">--csr-dir string</td>
70-
</tr>
71-
<tr>
72-
<td></td><td style="line-height: 130%; word-wrap: break-word;">
73-
<!-- The path to output the CSRs and private keys to -->
74-
输出 CSR 和私钥的路径
75-
</td>
76-
</td>
77-
</tr>
78-
79-
<tr>
80-
<td colspan="2">--csr-only</td>
81-
</tr>
82-
<tr>
83-
<td></td><td style="line-height: 130%; word-wrap: break-word;">
84-
<!-- Create CSRs instead of generating certificates -->
85-
创建 CSR 而不是生成证书
86-
</td>
87-
</tr>
88-
8968
<tr>
9069
<td colspan="2">-h, --help</td>
9170
</tr>

content/zh/docs/reference/setup-tools/kubeadm/generated/kubeadm_init_phase_certs_apiserver-kubelet-client.md

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -69,30 +69,6 @@ kubeadm 配置文件路径。
6969
</td>
7070
</tr>
7171

72-
<tr>
73-
<td colspan="2">--csr-dir string</td>
74-
</tr>
75-
<tr>
76-
<td></td><td style="line-height: 130%; word-wrap: break-word;">
77-
<!--
78-
The path to output the CSRs and private keys to
79-
-->
80-
输出 CSR 和私钥的路径
81-
</td>
82-
</tr>
83-
84-
<tr>
85-
<td colspan="2">--csr-only</td>
86-
</tr>
87-
<tr>
88-
<td></td><td style="line-height: 130%; word-wrap: break-word;">
89-
<!--
90-
Create CSRs instead of generating certificates
91-
-->
92-
创建 CSR 而不是生成证书
93-
</td>
94-
</tr>
95-
9672
<tr>
9773
<td colspan="2">-h, --help</td>
9874
</tr>

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

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -111,30 +111,6 @@ Specify a stable IP address or DNS name for the control plane.
111111
</td>
112112
</tr>
113113

114-
<tr>
115-
<td colspan="2">--csr-dir string</td>
116-
</tr>
117-
<tr>
118-
<td></td><td style="line-height: 130%; word-wrap: break-word;">
119-
<!--
120-
The path to output the CSRs and private keys to
121-
-->
122-
输出 CSR 和私钥的路径
123-
</td>
124-
</tr>
125-
126-
<tr>
127-
<td colspan="2">--csr-only</td>
128-
</tr>
129-
<tr>
130-
<td></td><td style="line-height: 130%; word-wrap: break-word;">
131-
<!--
132-
Create CSRs instead of generating certificates
133-
-->
134-
创建 CSR 而不是生成证书
135-
</td>
136-
</tr>
137-
138114
<tr>
139115
<td colspan="2">-h, --help</td>
140116
</tr>

content/zh/docs/reference/setup-tools/kubeadm/generated/kubeadm_init_phase_certs_etcd-healthcheck-client.md

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -69,27 +69,6 @@ kubeadm 配置文件的路径。
6969
</td>
7070
</tr>
7171

72-
<tr>
73-
<td colspan="2">--csr-dir string</td>
74-
</tr>
75-
<tr>
76-
<td></td><td style="line-height: 130%; word-wrap: break-word;">
77-
<!--
78-
The path to output the CSRs and private keys to
79-
-->
80-
CSR 和私钥的输出路径
81-
</td>
82-
</tr>
83-
84-
<tr>
85-
<td colspan="2">--csr-only</td>
86-
</tr>
87-
<tr>
88-
<td></td><td style="line-height: 130%; word-wrap: break-word;">
89-
创建 CSR 而不是生成证书
90-
</td>
91-
</tr>
92-
9372
<tr>
9473
<td colspan="2">-h, --help</td>
9574
</tr>

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

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -71,26 +71,6 @@ kubeadm 配置文件的路径。
7171
</td>
7272
</tr>
7373

74-
<tr>
75-
<td colspan="2">--csr-dir string</td>
76-
</tr>
77-
<tr>
78-
<td></td><td style="line-height: 130%; word-wrap: break-word;">
79-
<!-- The path to output the CSRs and private keys to -->
80-
输出 CSR 和私钥的路径
81-
</td>
82-
</tr>
83-
84-
<tr>
85-
<td colspan="2">--csr-only</td>
86-
</tr>
87-
<tr>
88-
<td></td><td style="line-height: 130%; word-wrap: break-word;">
89-
<!-- Create CSRs instead of generating certificates -->
90-
创建 CSR 而不是生成证书
91-
</td>
92-
</tr>
93-
9474
<tr>
9575
<td colspan="2">-h, --help</td>
9676
</tr>

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

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -70,30 +70,6 @@ kubeadm 配置文件的路径。
7070
</td>
7171
</tr>
7272

73-
<tr>
74-
<td colspan="2">--csr-dir string</td>
75-
</tr>
76-
<tr>
77-
<td></td><td style="line-height: 130%; word-wrap: break-word;">
78-
<!--
79-
The path to output the CSRs and private keys to
80-
-->
81-
输出 CSR 和私钥的路径
82-
</td>
83-
</tr>
84-
85-
<tr>
86-
<td colspan="2">--csr-only</td>
87-
</tr>
88-
<tr>
89-
<td></td><td style="line-height: 130%; word-wrap: break-word;">
90-
<!--
91-
Create CSRs instead of generating certificates
92-
-->
93-
创建 CSR 而不是生成证书
94-
</td>
95-
</tr>
96-
9773
<tr>
9874
<td colspan="2">-h, --help</td>
9975
</tr>

content/zh/docs/reference/setup-tools/kubeadm/generated/kubeadm_init_phase_certs_front-proxy-client.md

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -60,30 +60,6 @@ kubeadm 配置文件的路径。
6060
</td>
6161
</tr>
6262

63-
<tr>
64-
<td colspan="2">--csr-dir string</td>
65-
</tr>
66-
<tr>
67-
<td></td><td style="line-height: 130%; word-wrap: break-word;">
68-
<!--
69-
The path to output the CSRs and private keys to
70-
-->
71-
输出 CSR 和私钥的路径
72-
</td>
73-
</tr>
74-
75-
<tr>
76-
<td colspan="2">--csr-only</td>
77-
</tr>
78-
<tr>
79-
<td></td><td style="line-height: 130%; word-wrap: break-word;">
80-
<!--
81-
Create CSRs instead of generating certificates
82-
-->
83-
创建 CSR 而不是生成证书
84-
</td>
85-
</tr>
86-
8763
<tr>
8864
<td colspan="2">-h, --help</td>
8965
</tr>

0 commit comments

Comments
 (0)