Skip to content

Commit 5062936

Browse files
authored
Merge pull request #44354 from windsonsea/superadm
[zh] Localize kubeadm_certs_renew_super-admin.conf.md
2 parents 29ba41d + ee83ff1 commit 5062936

File tree

1 file changed

+126
-0
lines changed

1 file changed

+126
-0
lines changed
Lines changed: 126 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,126 @@
1+
<!--
2+
Renew the certificate embedded in the kubeconfig file for the super-admin
3+
-->
4+
为 super-admin 对嵌入于 kubeconfig 文件中的证书续期。
5+
6+
<!--
7+
### Synopsis
8+
-->
9+
### 概要
10+
11+
<!--
12+
Renew the certificate embedded in the kubeconfig file for the super-admin.
13+
-->
14+
为 super-admin 对嵌入于 kubeconfig 文件中的证书续期。
15+
16+
<!--
17+
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.
18+
-->
19+
续期操作将无条件进行,不论证书的到期日期是何时;诸如 SAN 之类的额外属性将基于现有文件/证书,无需重新提供。
20+
21+
<!--
22+
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.
23+
-->
24+
默认情况下,续期会尝试使用由 kubeadm 管理的本地 PKI 中的证书颁发机构;
25+
作为替代方案,可以使用 K8s 证书 API 进行证书续期,或者作为最后的选项,生成一个 CSR 请求。
26+
27+
<!--
28+
After renewal, in order to make changes effective, is required to restart control-plane components and eventually re-distribute the renewed certificate in case the file is used elsewhere.
29+
-->
30+
续期后,为了使更改生效,需要重启控制平面组件,并且如果该文件在其他地方使用,最终需要重新分发续期后的证书。
31+
32+
```
33+
kubeadm certs renew super-admin.conf [flags]
34+
```
35+
36+
<!--
37+
### Options
38+
-->
39+
### 选项
40+
41+
<table style="width: 100%; table-layout: fixed;">
42+
<colgroup>
43+
<col span="1" style="width: 10px;" />
44+
<col span="1" />
45+
</colgroup>
46+
<tbody>
47+
48+
<tr>
49+
<!--
50+
--cert-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "/etc/kubernetes/pki"
51+
-->
52+
<td colspan="2">--cert-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;默认值:"/etc/kubernetes/pki"</td>
53+
</tr>
54+
<tr>
55+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
56+
<!--
57+
The path where to save the certificates
58+
-->
59+
<p>保存证书的路径。</p></td>
60+
</tr>
61+
62+
<tr>
63+
<td colspan="2">--config string</td>
64+
</tr>
65+
<tr>
66+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
67+
<!--
68+
Path to a kubeadm configuration file.
69+
-->
70+
<p>kubeadm 配置文件的路径。</p></td>
71+
</tr>
72+
73+
<tr>
74+
<td colspan="2">-h, --help</td>
75+
</tr>
76+
<tr>
77+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
78+
<!--
79+
help for admin.conf
80+
-->
81+
<p>admin.conf 的帮助信息。</p></td>
82+
</tr>
83+
84+
<tr>
85+
<!--
86+
--kubeconfig string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "/etc/kubernetes/admin.conf"
87+
-->
88+
<td colspan="2">--kubeconfig string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;默认值:"/etc/kubernetes/admin.conf"</td>
89+
</tr>
90+
<tr>
91+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
92+
<!--
93+
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.
94+
-->
95+
<p>与集群通信时使用的 kubeconfig 文件。
96+
如果未设置该参数,则可以在一组标准位置中搜索现有的 kubeconfig 文件。</p></td>
97+
</tr>
98+
99+
</tbody>
100+
</table>
101+
102+
<!--
103+
### Options inherited from parent commands
104+
-->
105+
### 从父命令继承的选项
106+
107+
<table style="width: 100%; table-layout: fixed;">
108+
<colgroup>
109+
<col span="1" style="width: 10px;" />
110+
<col span="1" />
111+
</colgroup>
112+
<tbody>
113+
114+
<tr>
115+
<td colspan="2">--rootfs string</td>
116+
</tr>
117+
<tr>
118+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
119+
<!--
120+
[EXPERIMENTAL] The path to the 'real' host root filesystem.
121+
-->
122+
<p>[实验性功能] 指向‘真实’宿主根文件系统的路径。</p></td>
123+
</tr>
124+
125+
</tbody>
126+
</table>

0 commit comments

Comments
 (0)