[zh] sync v1.24 kubeadm-17
This commit is contained in:
+38
-29
@@ -1,3 +1,18 @@
|
||||
<!--
|
||||
The file is auto-generated from the Go source code of the component using a generic
|
||||
[generator](https://github.com/kubernetes-sigs/reference-docs/). To learn how
|
||||
to generate the reference documentation, please read
|
||||
[Contributing to the reference documentation](/docs/contribute/generate-ref-docs/).
|
||||
To update the reference conent, please follow the
|
||||
[Contributing upstream](/docs/contribute/generate-ref-docs/contribute-upstream/)
|
||||
guide. You can file document formatting bugs against the
|
||||
[reference-docs](https://github.com/kubernetes-sigs/reference-docs/) project.
|
||||
-->
|
||||
|
||||
<!--
|
||||
Generate the certificate for serving the Kubernetes API
|
||||
-->
|
||||
生成用于服务 Kubernetes API 的证书
|
||||
|
||||
<!--
|
||||
### Synopsis
|
||||
@@ -6,16 +21,10 @@
|
||||
### 概要
|
||||
|
||||
<!--
|
||||
Generate the certificate for serving the Kubernetes API, and save them into apiserver.cert and apiserver.key files.
|
||||
Generate the certificate for serving the Kubernetes API, and save them into apiserver.crt and apiserver.key files.
|
||||
-->
|
||||
生成用于服务 Kubernetes API 的证书,并将其保存到 apiserver.crt 和 apiserver.key 文件中。
|
||||
|
||||
生成用于服务 Kubernetes API 的证书,并将其保存到 apiserver.cert 和 apiserver.key 文件中。
|
||||
|
||||
<!--
|
||||
Default SANs are kubernetes, kubernetes.default, kubernetes.default.svc, kubernetes.default.svc.cluster.local, 10.96.0.1, 127.0.0.1
|
||||
-->
|
||||
|
||||
默认 SAN 是 kubernetes、kubernetes.default、kubernetes.default.svc、kubernetes.default.svc.cluster.local、10.96.0.1、127.0.0.1。
|
||||
|
||||
<!--
|
||||
If both files already exist, kubeadm skips the generation step and existing files will be used.
|
||||
@@ -52,21 +61,21 @@ kubeadm init phase certs apiserver [flags]
|
||||
<tr>
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">
|
||||
<!--
|
||||
The IP address the API Server will advertise it's listening on. If not set the default network interface will be used.
|
||||
<p>The IP address the API Server will advertise it's listening on. If not set the default network interface will be used.</p>
|
||||
-->
|
||||
API 服务器所公布的其正在监听的 IP 地址。如果未设置,则使用默认的网络接口。
|
||||
<p>API 服务器所公布的其正在监听的 IP 地址。如果未设置,则使用默认的网络接口。</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="2">--apiserver-cert-extra-sans stringSlice</td>
|
||||
<td colspan="2">--apiserver-cert-extra-sans strings</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">
|
||||
<!--
|
||||
Optional extra Subject Alternative Names (SANs) to use for the API Server serving certificate. Can be both IP addresses and DNS names.
|
||||
<p>Optional extra Subject Alternative Names (SANs) to use for the API Server serving certificate. Can be both IP addresses and DNS names.</p>
|
||||
-->
|
||||
用于 API Server 服务证书的可选附加主体备用名称(SAN)。可以是 IP 地址和 DNS 名称。
|
||||
<p>用于 API Server 服务证书的可选附加主体备用名称(SAN)。可以是 IP 地址和 DNS 名称。</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -81,9 +90,9 @@ Optional extra Subject Alternative Names (SANs) to use for the API Server servin
|
||||
<tr>
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">
|
||||
<!--
|
||||
The path where to save and store the certificates.
|
||||
<p>The path where to save and store the certificates.</p>
|
||||
-->
|
||||
证书的存储路径。
|
||||
<p>证书的存储路径。</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -93,9 +102,9 @@ The path where to save and store the certificates.
|
||||
<tr>
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">
|
||||
<!--
|
||||
Path to a kubeadm configuration file.
|
||||
<p>Path to a kubeadm configuration file.</p>
|
||||
-->
|
||||
kubeadm 配置文件的路径。
|
||||
<p>kubeadm 配置文件的路径。</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -105,9 +114,9 @@ kubeadm 配置文件的路径。
|
||||
<tr>
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">
|
||||
<!--
|
||||
Specify a stable IP address or DNS name for the control plane.
|
||||
<p>Specify a stable IP address or DNS name for the control plane.</p>
|
||||
-->
|
||||
为控制平面指定一个稳定的 IP 地址或 DNS 名称。
|
||||
<p>为控制平面指定一个稳定的 IP 地址或 DNS 名称。</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -117,9 +126,9 @@ Specify a stable IP address or DNS name for the control plane.
|
||||
<tr>
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">
|
||||
<!--
|
||||
help for apiserver
|
||||
<p>help for apiserver</p>
|
||||
-->
|
||||
apiserver 操作的帮助命令
|
||||
<p>apiserver 操作的帮助命令</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -134,9 +143,9 @@ apiserver 操作的帮助命令
|
||||
<tr>
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">
|
||||
<!--
|
||||
Choose a specific Kubernetes version for the control plane.
|
||||
<p>Choose a specific Kubernetes version for the control plane.</p>
|
||||
-->
|
||||
为控制平面指定特定的 Kubernetes 版本。
|
||||
<p>为控制平面指定特定的 Kubernetes 版本。</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -151,9 +160,9 @@ Choose a specific Kubernetes version for the control plane.
|
||||
<tr>
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">
|
||||
<!--
|
||||
Use alternative range of IP address for service VIPs.
|
||||
<p>Use alternative range of IP address for service VIPs.</p>
|
||||
-->
|
||||
指定服务 VIP 可使用的其他 IP 地址段。
|
||||
<p>指定服务 VIP 可使用的其他 IP 地址段。</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -168,9 +177,9 @@ Use alternative range of IP address for service VIPs.
|
||||
<tr>
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">
|
||||
<!--
|
||||
Use alternative domain for services, e.g. "myorg.internal".
|
||||
<p>Use alternative domain for services, e.g. "myorg.internal".</p>
|
||||
-->
|
||||
为服务使用其他域名,例如 "myorg.internal"。
|
||||
<p>为服务使用其他域名,例如 "myorg.internal"。</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -196,9 +205,9 @@ Use alternative domain for services, e.g. "myorg.internal".
|
||||
<tr>
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">
|
||||
<!--
|
||||
[EXPERIMENTAL] The path to the 'real' host root filesystem.
|
||||
<p>[EXPERIMENTAL] The path to the 'real' host root filesystem.</p>
|
||||
-->
|
||||
[实验] 到 '真实' 主机根文件系统的路径。
|
||||
<p>[实验] 到 '真实' 主机根文件系统的路径。</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
+25
-10
@@ -1,3 +1,18 @@
|
||||
<!--
|
||||
The file is auto-generated from the Go source code of the component using a generic
|
||||
[generator](https://github.com/kubernetes-sigs/reference-docs/). To learn how
|
||||
to generate the reference documentation, please read
|
||||
[Contributing to the reference documentation](/docs/contribute/generate-ref-docs/).
|
||||
To update the reference conent, please follow the
|
||||
[Contributing upstream](/docs/contribute/generate-ref-docs/contribute-upstream/)
|
||||
guide. You can file document formatting bugs against the
|
||||
[reference-docs](https://github.com/kubernetes-sigs/reference-docs/) project.
|
||||
-->
|
||||
|
||||
<!--
|
||||
Generate the self-signed CA to provision identities for front proxy
|
||||
-->
|
||||
生成自签名 CA 来提供前端代理的身份
|
||||
|
||||
<!--
|
||||
### Synopsis
|
||||
@@ -51,9 +66,9 @@ kubeadm init phase certs front-proxy-ca [flags]
|
||||
<tr>
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">
|
||||
<!--
|
||||
The path where to save and store the certificates.
|
||||
<p>The path where to save and store the certificates.</p>
|
||||
-->
|
||||
存储证书的路径。
|
||||
<p>存储证书的路径。</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -63,9 +78,9 @@ The path where to save and store the certificates.
|
||||
<tr>
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">
|
||||
<!--
|
||||
Path to a kubeadm configuration file.
|
||||
<p>Path to a kubeadm configuration file.</p>
|
||||
-->
|
||||
kubeadm 配置文件的路径。
|
||||
<p>kubeadm 配置文件的路径。</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -75,9 +90,9 @@ kubeadm 配置文件的路径。
|
||||
<tr>
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">
|
||||
<!--
|
||||
help for front-proxy-ca
|
||||
<p>help for front-proxy-ca</p>
|
||||
-->
|
||||
front-proxy-ca 操作的帮助命令
|
||||
<p>front-proxy-ca 操作的帮助命令</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -92,9 +107,9 @@ front-proxy-ca 操作的帮助命令
|
||||
<tr>
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">
|
||||
<!--
|
||||
Choose a specific Kubernetes version for the control plane.
|
||||
<p>Choose a specific Kubernetes version for the control plane.</p>
|
||||
-->
|
||||
为控制平面选择特定的 Kubernetes 版本。
|
||||
<p>为控制平面选择特定的 Kubernetes 版本。</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -120,9 +135,9 @@ Choose a specific Kubernetes version for the control plane.
|
||||
<tr>
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">
|
||||
<!--
|
||||
[EXPERIMENTAL] The path to the 'real' host root filesystem.
|
||||
<p>[EXPERIMENTAL] The path to the 'real' host root filesystem.</p>
|
||||
-->
|
||||
[实验] 到 '真实' 主机根文件系统的路径。
|
||||
<p>[实验] 到 '真实' 主机根文件系统的路径。</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
+59
-27
@@ -1,3 +1,18 @@
|
||||
<!--
|
||||
The file is auto-generated from the Go source code of the component using a generic
|
||||
[generator](https://github.com/kubernetes-sigs/reference-docs/). To learn how
|
||||
to generate the reference documentation, please read
|
||||
[Contributing to the reference documentation](/docs/contribute/generate-ref-docs/).
|
||||
To update the reference conent, please follow the
|
||||
[Contributing upstream](/docs/contribute/generate-ref-docs/contribute-upstream/)
|
||||
guide. You can file document formatting bugs against the
|
||||
[reference-docs](https://github.com/kubernetes-sigs/reference-docs/) project.
|
||||
-->
|
||||
|
||||
<!--
|
||||
Generates the kube-controller-manager static Pod manifest
|
||||
-->
|
||||
生成 kube-controller-manager 静态 Pod 清单
|
||||
|
||||
<!--
|
||||
### Synopsis
|
||||
@@ -32,9 +47,9 @@ kubeadm init phase control-plane controller-manager [flags]
|
||||
<tr>
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">
|
||||
<!--
|
||||
The path where to save and store the certificates.
|
||||
<p>The path where to save and store the certificates.</p>
|
||||
-->
|
||||
存储证书的路径。
|
||||
<p>存储证书的路径。</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -44,35 +59,35 @@ The path where to save and store the certificates.
|
||||
<tr>
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">
|
||||
<!--
|
||||
Path to a kubeadm configuration file.
|
||||
<p>Path to a kubeadm configuration file.</p>
|
||||
-->
|
||||
kubeadm 配置文件的路径。
|
||||
<p>kubeadm 配置文件的路径。</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="2">--controller-manager-extra-args mapStringString</td>
|
||||
<td colspan="2">--controller-manager-extra-args <comma-separated 'key=value' pairs></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">
|
||||
<!--
|
||||
A set of extra flags to pass to the Controller Manager or override default ones in form of <flagname>=<value>
|
||||
<p>A set of extra flags to pass to the Controller Manager or override default ones in form of <flagname>=<value></p>
|
||||
-->
|
||||
一组 <flagname>=< 形式的额外参数,传递给控制器管理器(Controller Manager)
|
||||
或者覆盖其默认配置值
|
||||
<p>一组 <flagname>=< 形式的额外参数,传递给控制器管理器(Controller Manager)
|
||||
或者覆盖其默认配置值</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">
|
||||
<!--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.-->
|
||||
包含名为 "target[suffix][+patchtype].extension" 的文件的目录。
|
||||
例如,"kube-apiserver0+merge.yaml" 或者 "etcd.json"。
|
||||
"patchtype" 可以是 "strategic"、"merge" 或 "json" 之一,分别与 kubectl
|
||||
所支持的 patch 格式相匹配。默认的 "patchtype" 是 "strategic"。
|
||||
"extension" 必须是 "json" 或 "yaml"。
|
||||
"suffix" 是一个可选的字符串,用来确定按字母顺序排序时首先应用哪些 patch。
|
||||
</td>
|
||||
<td colspan="2">--dry-run</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
|
||||
<!--
|
||||
Don't apply any changes; just output what would be done.
|
||||
-->
|
||||
不应用任何变更,仅输出将要执行的操作
|
||||
</p></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
@@ -81,9 +96,9 @@ A set of extra flags to pass to the Controller Manager or override default ones
|
||||
<tr>
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">
|
||||
<!--
|
||||
help for controller-manager
|
||||
<p>help for controller-manager</p>
|
||||
-->
|
||||
controller-manager 操作的帮助命令
|
||||
<p>controller-manager 操作的帮助命令</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -98,9 +113,9 @@ controller-manager 操作的帮助命令
|
||||
<tr>
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">
|
||||
<!--
|
||||
Choose a container registry to pull control plane images from
|
||||
<p>Choose a container registry to pull control plane images from</p>
|
||||
-->
|
||||
选择要从中拉取控制平面镜像的容器仓库
|
||||
<p>选择要从中拉取控制平面镜像的容器仓库</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -115,9 +130,26 @@ Choose a container registry to pull control plane images from
|
||||
<tr>
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">
|
||||
<!--
|
||||
Choose a specific Kubernetes version for the control plane.
|
||||
<p>Choose a specific Kubernetes version for the control plane.</p>
|
||||
-->
|
||||
为控制平面选择特定的 Kubernetes 版本。
|
||||
<p>为控制平面选择特定的 Kubernetes 版本。</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="2">--patches string</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">
|
||||
<!--
|
||||
<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>
|
||||
-->
|
||||
<p>包含名为 "target[suffix][+patchtype].extension" 的文件的目录。
|
||||
例如,"kube-apiserver0+merge.yaml" 或者 "etcd.json"。
|
||||
"patchtype" 可以是 "strategic"、"merge" 或 "json" 之一,分别与 kubectl
|
||||
所支持的 patch 格式相匹配。默认的 "patchtype" 是 "strategic"。
|
||||
"extension" 必须是 "json" 或 "yaml"。
|
||||
"suffix" 是一个可选的字符串,用来确定按字母顺序排序时首先应用哪些 patch。</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -127,9 +159,9 @@ Choose a specific Kubernetes version for the control plane.
|
||||
<tr>
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">
|
||||
<!--
|
||||
Specify range of IP addresses for the pod network. If set, the control plane will automatically allocate CIDRs for every node.
|
||||
<p>Specify range of IP addresses for the pod network. If set, the control plane will automatically allocate CIDRs for every node.</p>
|
||||
-->
|
||||
指定 Pod 网络的 IP 地址范围。如果设置,控制平面将自动为每个节点分配 CIDR。
|
||||
<p>指定 Pod 网络的 IP 地址范围。如果设置,控制平面将自动为每个节点分配 CIDR。</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -154,9 +186,9 @@ Specify range of IP addresses for the pod network. If set, the control plane wil
|
||||
<tr>
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">
|
||||
<!--
|
||||
[EXPERIMENTAL] The path to the 'real' host root filesystem.
|
||||
<p>[EXPERIMENTAL] The path to the 'real' host root filesystem.</p>
|
||||
-->
|
||||
[实验] 到 '真实' 主机根文件系统的路径。
|
||||
<p>[实验] 到 '真实' 主机根文件系统的路径。</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user