You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/zh/docs/reference/setup-tools/kubeadm/generated/kubeadm_certs_generate-csr.md
+26-21Lines changed: 26 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,39 +6,46 @@
6
6
Generates keys and certificate signing requests (CSRs) for all the certificates required to run the control plane. This command also generates partial kubeconfig files with private key data in the "users > user > client-key-data" field, and for each kubeconfig file an accompanying ".csr" file is created.
其中 "users > user > client-key-data" 字段包含私钥数据,并为每个 kubeconfig 文件创建一个随附的".csr"文件。
9
+
其中 "users > user > client-key-data" 字段包含私钥数据,并为每个 kubeconfig
10
+
文件创建一个随附的 ".csr" 文件。
10
11
11
12
<!--
12
13
This command is designed for use in [Kubeadm External CA Mode](https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-certs/#external-ca-mode). It generates CSRs which you can then submit to your external certificate authority for signing.
13
14
-->
14
-
该命令设计用于 [Kubeadm 外部 CA 模式](https://kubernetes.io/zh/docs/tasks/administer-cluster/kubeadm/kubeadm-certs/#external-ca-mode)。
15
-
它生成 CSR,然后你可以将其提交给外部证书颁发机构进行签名。
15
+
此命令设计用于
16
+
[Kubeadm 外部 CA 模式](https://kubernetes.io/zh/docs/tasks/administer-cluster/kubeadm/kubeadm-certs/#external-ca-mode)。
17
+
它生成你可以提交给外部证书颁发机构进行签名的 CSR。
16
18
17
19
<!--
18
20
The PEM encoded signed certificates should then be saved alongside the key files, using ".crt" as the file extension, or in the case of kubeconfig files, the PEM encoded signed certificate should be base64 encoded and added to the kubeconfig file in the "users > user > client-certificate-data" field.
Copy file name to clipboardExpand all lines: content/zh/docs/reference/setup-tools/kubeadm/generated/kubeadm_certs_renew_admin.conf.md
+5-10Lines changed: 5 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,36 +2,31 @@
2
2
<!--
3
3
### Synopsis
4
4
-->
5
-
6
5
### 概要
7
6
8
7
<!--
9
8
Renew the certificate embedded in the kubeconfig file for the admin to use and for kubeadm itself.
10
9
-->
11
-
12
10
续订 kubeconfig 文件中嵌入的证书,供管理员 和 kubeadm 自身使用。
13
11
14
12
<!--
15
13
Renewals run unconditionally, regardless of certificate expiration date; extra attributes such as SANs will be based on the existing file/certificates, there is no need to resupply them.
Renewal by default tries to use the certificate authority in the local PKI managed by kubeadm; as alternative it is possible to use K8s certificate API for certificate renewal, or as a last option, to generate a CSR request.
22
19
-->
23
-
24
20
默认情况下,续订会尝试使用由 kubeadm 管理的本地 PKI 中的证书机构;作为替代方案,
25
-
也可以使用 K8s certificate API 进行证书续订,或者(作为最后一种选择)生成 CSR 请求。
21
+
也可以使用 K8s 证书 API 进行证书续订,或者(作为最后一种选择)生成 CSR 请求。
26
22
27
23
<!--
28
24
After renewal, in order to make changes effective, is is required to restart control-plane components and eventually re-distribute the renewed certificate in case the file is used elsewhere.
<!-- The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file. -->
Copy file name to clipboardExpand all lines: content/zh/docs/reference/setup-tools/kubeadm/generated/kubeadm_certs_renew_all.md
+3-6Lines changed: 3 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,23 +2,20 @@
2
2
<!--
3
3
### Synopsis
4
4
-->
5
-
6
5
### 概要
7
6
8
7
<!--
9
8
Renew all known certificates necessary to run the control plane. Renewals are run unconditionally, regardless of expiration date. Renewals can also be run individually for more control.
The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file.
0 commit comments