Skip to content

Commit bde2053

Browse files
committed
[zh-cn]sync kubectl_cordon/_index
Signed-off-by: xin.li <[email protected]>
1 parent 0d21347 commit bde2053

File tree

1 file changed

+72
-30
lines changed
  • content/zh-cn/docs/reference/kubectl/generated/kubectl_cordon

1 file changed

+72
-30
lines changed

content/zh-cn/docs/reference/kubectl/generated/kubectl_cordon/_index.md

Lines changed: 72 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@ Must be &quot;none&quot;, &quot;server&quot;, or &quot;client&quot;. If client s
5656
-->
5757
必须是 "none"、"server" 或 "client"。如果是 client 策略,仅打印将要发送的对象,而不实际发送。
5858
如果是 server 策略,提交服务器端请求而不持久化资源。
59-
</p></td>
59+
</p>
60+
</td>
6061
</tr>
6162

6263
<tr>
@@ -69,7 +70,8 @@ Must be &quot;none&quot;, &quot;server&quot;, or &quot;client&quot;. If client s
6970
help for cordon
7071
-->
7172
cordon 操作的帮助命令。
72-
</p></td>
73+
</p>
74+
</td>
7375
</tr>
7476

7577
<tr>
@@ -84,7 +86,8 @@ Selector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.
8486
过滤所用的选择算符(标签查询),支持 '='、'=='、'!='、'in' 和 'notin'。
8587
(例如 <code>-l key1=value1,key2=value2,key3 in (value3)</code>)。
8688
匹配的对象必须满足所有指定的标签约束。
87-
</p></td>
89+
</p>
90+
</td>
8891
</tr>
8992

9093
</tbody>
@@ -109,7 +112,8 @@ Selector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.
109112
Username to impersonate for the operation. User could be a regular user or a service account in a namespace.
110113
-->
111114
操作所用的伪装用户名。用户可以是常规用户或命名空间中的服务账号。
112-
</p></td>
115+
</p>
116+
</td>
113117
</tr>
114118

115119
<tr>
@@ -122,7 +126,8 @@ Username to impersonate for the operation. User could be a regular user or a ser
122126
Group to impersonate for the operation, this flag can be repeated to specify multiple groups.
123127
-->
124128
操作所用的伪装用户组,此标志可以被重复设置以指定多个组。
125-
</p></td>
129+
</p>
130+
</td>
126131
</tr>
127132

128133
<tr>
@@ -135,7 +140,22 @@ Group to impersonate for the operation, this flag can be repeated to specify mul
135140
UID to impersonate for the operation.
136141
-->
137142
操作所用的伪装 UID。
138-
</p></td>
143+
</p>
144+
</td>
145+
</tr>
146+
147+
<tr>
148+
<td colspan="2">--as-user-extra strings</td>
149+
</tr>
150+
<tr>
151+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
152+
<p>
153+
<!--
154+
User extras to impersonate for the operation, this flag can be repeated to specify multiple values for the same key.
155+
-->
156+
用户额外信息,用于伪装操作,此标志可以重复使用,为同一个键指定多个值。
157+
</p>
158+
</td>
139159
</tr>
140160

141161
<tr>
@@ -148,7 +168,8 @@ UID to impersonate for the operation.
148168
Default cache directory
149169
-->
150170
默认缓存目录。
151-
</p></td>
171+
</p>
172+
</td>
152173
</tr>
153174

154175
<tr>
@@ -161,7 +182,8 @@ Default cache directory
161182
Path to a cert file for the certificate authority
162183
-->
163184
证书机构的证书文件的路径。
164-
</p></td>
185+
</p>
186+
</td>
165187
</tr>
166188

167189
<tr>
@@ -174,7 +196,8 @@ Path to a cert file for the certificate authority
174196
Path to a client certificate file for TLS
175197
-->
176198
TLS 客户端证书文件的路径。
177-
</p></td>
199+
</p>
200+
</td>
178201
</tr>
179202

180203
<tr>
@@ -187,7 +210,8 @@ TLS 客户端证书文件的路径。
187210
Path to a client key file for TLS
188211
-->
189212
TLS 客户端密钥文件的路径。
190-
</p></td>
213+
</p>
214+
</td>
191215
</tr>
192216

193217
<tr>
@@ -200,7 +224,8 @@ TLS 客户端密钥文件的路径。
200224
The name of the kubeconfig cluster to use
201225
-->
202226
要使用的 kubeconfig 中的集群名称。
203-
</p></td>
227+
</p>
228+
</td>
204229
</tr>
205230

206231
<tr>
@@ -213,7 +238,8 @@ The name of the kubeconfig cluster to use
213238
The name of the kubeconfig context to use
214239
-->
215240
要使用的 kubeconfig 上下文的名称。
216-
</p></td>
241+
</p>
242+
</td>
217243
</tr>
218244

219245
<tr>
@@ -226,7 +252,8 @@ The name of the kubeconfig context to use
226252
If true, opt-out of response compression for all requests to the server
227253
-->
228254
如果为 true,则对服务器所有请求的响应不再压缩。
229-
</p></td>
255+
</p>
256+
</td>
230257
</tr>
231258

232259
<tr>
@@ -239,7 +266,8 @@ If true, opt-out of response compression for all requests to the server
239266
If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure
240267
-->
241268
如果为 true,则不检查服务器证书的有效性。这将使你的 HTTPS 连接不安全。
242-
</p></td>
269+
</p>
270+
</td>
243271
</tr>
244272

245273
<tr>
@@ -252,7 +280,8 @@ If true, the server's certificate will not be checked for validity. This will ma
252280
Path to the kubeconfig file to use for CLI requests.
253281
-->
254282
CLI 请求要使用的 kubeconfig 文件的路径。
255-
</p></td>
283+
</p>
284+
</td>
256285
</tr>
257286

258287
<tr>
@@ -280,7 +309,8 @@ Path to the kuberc file to use for preferences. This can be disabled by exportin
280309
Require server version to match client version
281310
-->
282311
要求服务器版本与客户端版本匹配。
283-
</p></td>
312+
</p>
313+
</td>
284314
</tr>
285315

286316
<tr>
@@ -293,7 +323,8 @@ Require server version to match client version
293323
If present, the namespace scope for this CLI request
294324
-->
295325
如果存在,则是此 CLI 请求的命名空间范围。
296-
</p></td>
326+
</p>
327+
</td>
297328
</tr>
298329

299330
<tr>
@@ -306,7 +337,8 @@ If present, the namespace scope for this CLI request
306337
Password for basic authentication to the API server
307338
-->
308339
对 API 服务器进行基本身份验证所用的密码。
309-
</p></td>
340+
</p>
341+
</td>
310342
</tr>
311343

312344
<tr>
@@ -316,10 +348,11 @@ Password for basic authentication to the API server
316348
<td></td><td style="line-height: 130%; word-wrap: break-word;">
317349
<p>
318350
<!--
319-
Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)
351+
Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex|trace)
320352
-->
321-
要记录的性能分析信息。可选值为(none|cpu|heap|goroutine|threadcreate|block|mutex)。
322-
</p></td>
353+
要记录的性能分析信息。可选值为(none|cpu|heap|goroutine|threadcreate|block|mutex|trace)。
354+
</p>
355+
</td>
323356
</tr>
324357

325358
<tr>
@@ -332,7 +365,8 @@ Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|m
332365
Name of the file to write the profile to
333366
-->
334367
性能分析信息要写入的目标文件的名称。
335-
</p></td>
368+
</p>
369+
</td>
336370
</tr>
337371

338372
<tr>
@@ -346,7 +380,8 @@ The length of time to wait before giving up on a single server request. Non-zero
346380
-->
347381
在放弃某个服务器请求之前等待的时长。非零值应包含相应的时间单位(例如 1s、2m、3h)。
348382
值为零表示请求不会超时。
349-
</p></td>
383+
</p>
384+
</td>
350385
</tr>
351386

352387
<tr>
@@ -358,7 +393,8 @@ The length of time to wait before giving up on a single server request. Non-zero
358393
The address and port of the Kubernetes API server
359394
-->
360395
Kubernetes API 服务器的地址和端口。
361-
</p></td>
396+
</p>
397+
</td>
362398
</tr>
363399

364400
<tr>
@@ -370,7 +406,8 @@ Kubernetes API 服务器的地址和端口。
370406
Writes in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction
371407
-->
372408
对存储驱动的写入操作将被缓存的时长;缓存的操作会作为一个事务提交给非内存后端。
373-
</p></td>
409+
</p>
410+
</td>
374411
</tr>
375412

376413
<tr>
@@ -382,7 +419,8 @@ Writes in the storage driver will be buffered for this duration, and committed t
382419
database name
383420
-->
384421
数据库名称。
385-
</p></td>
422+
</p>
423+
</td>
386424
</tr>
387425

388426
<tr>
@@ -394,7 +432,8 @@ database name
394432
database host:port
395433
-->
396434
数据库 host:port
397-
</p></td>
435+
</p>
436+
</td>
398437
</tr>
399438

400439
<tr>
@@ -406,7 +445,8 @@ database host:port
406445
database password
407446
-->
408447
数据库密码。
409-
</p></td>
448+
</p>
449+
</td>
410450
</tr>
411451

412452
<tr>
@@ -418,7 +458,8 @@ database password
418458
use secure connection with database
419459
-->
420460
使用与数据库的安全连接。
421-
</p></td>
461+
</p>
462+
</td>
422463
</tr>
423464

424465
<tr>
@@ -430,7 +471,8 @@ use secure connection with database
430471
table name
431472
-->
432473
表名。
433-
</p></td>
474+
</p>
475+
</td>
434476
</tr>
435477

436478
<tr>

0 commit comments

Comments
 (0)