1- <!--
2- Generate the certificate the apiserver uses to access etcd
3- -->
4- 生成 apiserver 用来访问 etcd 的证书。
5-
61<!--
72### Synopsis
83-->
@@ -11,14 +6,15 @@ Generate the certificate the apiserver uses to access etcd
116<!--
127Generate the certificate the apiserver uses to access etcd, and save them into apiserver-etcd-client.crt and apiserver-etcd-client.key files.
138-->
14- 生成 apiserver 用于访问 etcd 的证书,并将其保存到 apiserver-etcd-client.crt 和 apiserver-etcd-client.key 文件中。
9+ 生成 apiserver 用于访问 etcd 的证书,并将其保存到 ` apiserver-etcd-client.crt `
10+ 和 ` apiserver-etcd-client.key ` 文件中。
1511
1612<!--
1713If both files already exist, kubeadm skips the generation step and existing files will be used.
1814-->
1915如果两个文件都已存在,则 kubeadm 将跳过生成步骤,使用现有文件。
2016
21- ```
17+ ``` shell
2218kubeadm init phase certs apiserver-etcd-client [flags]
2319```
2420
@@ -27,7 +23,7 @@ kubeadm init phase certs apiserver-etcd-client [flags]
2723-->
2824### 选项
2925
30- <table style =" width : 100% ; table-layout : fixed ;" >
26+ <table style =" width : 100% ; table-layout : fixed ;" >
3127<colgroup >
3228<col span =" 1 " style =" width : 10px ;" />
3329<col span =" 1 " />
@@ -43,47 +39,62 @@ kubeadm init phase certs apiserver-etcd-client [flags]
4339</td >
4440</tr >
4541<tr >
46- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
42+ <td ></td >
43+ <td style =" line-height : 130% ; word-wrap : break-word ;" >
44+ <p >
4745<!--
48- <p> The path where to save and store the certificates.</p>
46+ The path where to save and store the certificates.
4947-->
50- <p >证书的存储路径。</p >
48+ 证书的存储路径。
49+ </p >
5150</td >
5251</tr >
5352
5453<tr >
5554<td colspan =" 2 " >--config string</td >
5655</tr >
5756<tr >
58- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
57+ <td >
58+ </td >
59+ <td style =" line-height : 130% ; word-wrap : break-word ;" >
60+ <p >
5961<!--
60- <p> Path to a kubeadm configuration file.</p>
62+ Path to a kubeadm configuration file.
6163-->
62- <p >kubeadm 配置文件的路径。</p >
64+ kubeadm 配置文件的路径。
65+ </p >
6366</td >
6467</tr >
6568
6669<tr >
6770<td colspan =" 2 " >--dry-run</td >
6871</tr >
6972<tr >
70- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
73+ <td >
74+ </td >
75+ <td style =" line-height : 130% ; word-wrap : break-word ;" >
76+ <p >
7177<!--
72- <p> Don't apply any changes; just output what would be done.</p>
78+ Don't apply any changes; just output what would be done.
7379-->
74- <p >不做任何更改;只输出将要执行的操作。</p >
80+ 不做任何更改;只输出将要执行的操作。
81+ </p >
7582</td >
7683</tr >
7784
7885<tr >
7986<td colspan =" 2 " >-h, --help</td >
8087</tr >
8188<tr >
82- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
89+ <td >
90+ </td >
91+ <td style =" line-height : 130% ; word-wrap : break-word ;" >
92+ <p >
8393<!--
84- <p> help for apiserver-etcd-client</p>
94+ help for apiserver-etcd-client
8595-->
86- <p >apiserver-etcd-client 操作的帮助命令。</p >
96+ apiserver-etcd-client 操作的帮助命令。
97+ </p >
8798</td >
8899</tr >
89100
@@ -94,11 +105,15 @@ kubeadm init phase certs apiserver-etcd-client [flags]
94105</td >
95106</tr >
96107<tr >
97- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
108+ <td >
109+ </td >
110+ <td style =" line-height : 130% ; word-wrap : break-word ;" >
111+ <p >
98112<!--
99- <p> Choose a specific Kubernetes version for the control plane.</p>
113+ Choose a specific Kubernetes version for the control plane.
100114-->
101- <p >为控制平面指定特定的 Kubernetes 版本。</p >
115+ 为控制平面指定特定的 Kubernetes 版本。
116+ </p >
102117</td >
103118</tr >
104119
@@ -110,7 +125,7 @@ kubeadm init phase certs apiserver-etcd-client [flags]
110125-->
111126### 继承于父命令的选项
112127
113- <table style =" width : 100% ; table-layout : fixed ;" >
128+ <table style =" width : 100% ; table-layout : fixed ;" >
114129<colgroup >
115130<col span =" 1 " style =" width : 10px ;" />
116131<col span =" 1 " />
@@ -121,11 +136,15 @@ kubeadm init phase certs apiserver-etcd-client [flags]
121136<td colspan =" 2 " >--rootfs string</td >
122137</tr >
123138<tr >
124- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
139+ <td >
140+ </td >
141+ <td style =" line-height : 130% ; word-wrap : break-word ;" >
142+ <p >
125143<!--
126- <p> [EXPERIMENTAL] The path to the 'real' host root filesystem.</p>
144+ [EXPERIMENTAL] The path to the 'real' host root filesystem.
127145-->
128- <p >[实验] 到 '真实' 主机根文件系统的路径。</p >
146+ [ 实验] 到 '真实' 主机根文件系统的路径。
147+ </p >
129148</td >
130149</tr >
131150
0 commit comments