Skip to content

Commit 671d30b

Browse files
authored
Merge pull request #52435 from my-git9/npe-21150
[zh-cn]sync kubectl_cordon/_index.md
2 parents 3093630 + 3cf9189 commit 671d30b

File tree

1 file changed

+57
-45
lines changed
  • content/zh-cn/docs/reference/kubectl/generated/kubectl_cordon

1 file changed

+57
-45
lines changed

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

Lines changed: 57 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ kubectl cordon foo
4949
<td colspan="2">--dry-run string[="unchanged"]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:"none"</td>
5050
</tr>
5151
<tr>
52-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
52+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
53+
<p>
5354
<!--
5455
Must be &quot;none&quot;, &quot;server&quot;, or &quot;client&quot;. If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.
5556
-->
@@ -62,7 +63,8 @@ Must be &quot;none&quot;, &quot;server&quot;, or &quot;client&quot;. If client s
6263
<td colspan="2">-h, --help</td>
6364
</tr>
6465
<tr>
65-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
66+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
67+
<p>
6668
<!--
6769
help for cordon
6870
-->
@@ -74,7 +76,8 @@ cordon 操作的帮助命令。
7476
<td colspan="2">-l, --selector string</td>
7577
</tr>
7678
<tr>
77-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
79+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
80+
<p>
7881
<!--
7982
Selector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)). Matching objects must satisfy all of the specified label constraints.
8083
-->
@@ -100,7 +103,8 @@ Selector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.
100103
<td colspan="2">--as string</td>
101104
</tr>
102105
<tr>
103-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
106+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
107+
<p>
104108
<!--
105109
Username to impersonate for the operation. User could be a regular user or a service account in a namespace.
106110
-->
@@ -112,7 +116,8 @@ Username to impersonate for the operation. User could be a regular user or a ser
112116
<td colspan="2">--as-group strings</td>
113117
</tr>
114118
<tr>
115-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
119+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
120+
<p>
116121
<!--
117122
Group to impersonate for the operation, this flag can be repeated to specify multiple groups.
118123
-->
@@ -124,7 +129,8 @@ Group to impersonate for the operation, this flag can be repeated to specify mul
124129
<td colspan="2">--as-uid string</td>
125130
</tr>
126131
<tr>
127-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
132+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
133+
<p>
128134
<!--
129135
UID to impersonate for the operation.
130136
-->
@@ -136,7 +142,8 @@ UID to impersonate for the operation.
136142
<td colspan="2">--cache-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:"$HOME/.kube/cache"</td>
137143
</tr>
138144
<tr>
139-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
145+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
146+
<p>
140147
<!--
141148
Default cache directory
142149
-->
@@ -148,7 +155,8 @@ Default cache directory
148155
<td colspan="2">--certificate-authority string</td>
149156
</tr>
150157
<tr>
151-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
158+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
159+
<p>
152160
<!--
153161
Path to a cert file for the certificate authority
154162
-->
@@ -160,7 +168,8 @@ Path to a cert file for the certificate authority
160168
<td colspan="2">--client-certificate string</td>
161169
</tr>
162170
<tr>
163-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
171+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
172+
<p>
164173
<!--
165174
Path to a client certificate file for TLS
166175
-->
@@ -172,7 +181,8 @@ TLS 客户端证书文件的路径。
172181
<td colspan="2">--client-key string</td>
173182
</tr>
174183
<tr>
175-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
184+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
185+
<p>
176186
<!--
177187
Path to a client key file for TLS
178188
-->
@@ -184,7 +194,8 @@ TLS 客户端密钥文件的路径。
184194
<td colspan="2">--cluster string</td>
185195
</tr>
186196
<tr>
187-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
197+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
198+
<p>
188199
<!--
189200
The name of the kubeconfig cluster to use
190201
-->
@@ -196,43 +207,21 @@ The name of the kubeconfig cluster to use
196207
<td colspan="2">--context string</td>
197208
</tr>
198209
<tr>
199-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
210+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
211+
<p>
200212
<!--
201213
The name of the kubeconfig context to use
202214
-->
203215
要使用的 kubeconfig 上下文的名称。
204216
</p></td>
205217
</tr>
206218

207-
<tr>
208-
<td colspan="2">--default-not-ready-toleration-seconds int&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:300</td>
209-
</tr>
210-
<tr>
211-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
212-
<!--
213-
Indicates the tolerationSeconds of the toleration for notReady:NoExecute that is added by default to every pod that does not already have such a toleration.
214-
-->
215-
设置针对 notReady:NoExecute 的容忍度的 tolerationSeconds,默认添加到所有尚未设置此容忍度的 Pod。
216-
</p></td>
217-
</tr>
218-
219-
<tr>
220-
<td colspan="2">--default-unreachable-toleration-seconds int&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:300</td>
221-
</tr>
222-
<tr>
223-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
224-
<!--
225-
Indicates the tolerationSeconds of the toleration for unreachable:NoExecute that is added by default to every pod that does not already have such a toleration.
226-
-->
227-
设置针对 unreachable:NoExecute 的容忍度的 tolerationSeconds,默认添加到所有尚未设置此容忍度的 Pod。
228-
</p></td>
229-
</tr>
230-
231219
<tr>
232220
<td colspan="2">--disable-compression</td>
233221
</tr>
234222
<tr>
235-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
223+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
224+
<p>
236225
<!--
237226
If true, opt-out of response compression for all requests to the server
238227
-->
@@ -244,7 +233,8 @@ If true, opt-out of response compression for all requests to the server
244233
<td colspan="2">--insecure-skip-tls-verify</td>
245234
</tr>
246235
<tr>
247-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
236+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
237+
<p>
248238
<!--
249239
If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure
250240
-->
@@ -256,19 +246,36 @@ If true, the server's certificate will not be checked for validity. This will ma
256246
<td colspan="2">--kubeconfig string</td>
257247
</tr>
258248
<tr>
259-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
249+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
250+
<p>
260251
<!--
261252
Path to the kubeconfig file to use for CLI requests.
262253
-->
263254
CLI 请求要使用的 kubeconfig 文件的路径。
264255
</p></td>
265256
</tr>
266257

258+
<tr>
259+
<td colspan="2">--kuberc string</td>
260+
</tr>
261+
<tr>
262+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
263+
<p>
264+
<!--
265+
Path to the kuberc file to use for preferences. This can be disabled by exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off.
266+
-->
267+
用于偏好设置的 kuberc 文件的路径。可以通过导出 KUBECTL_KUBERC=false
268+
特性门控或关闭 KUBERC=off 特性门控来禁用此功能。
269+
</p>
270+
</td>
271+
</tr>
272+
267273
<tr>
268274
<td colspan="2">--match-server-version</td>
269275
</tr>
270276
<tr>
271-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
277+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
278+
<p>
272279
<!--
273280
Require server version to match client version
274281
-->
@@ -280,7 +287,8 @@ Require server version to match client version
280287
<td colspan="2">-n, --namespace string</td>
281288
</tr>
282289
<tr>
283-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
290+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
291+
<p>
284292
<!--
285293
If present, the namespace scope for this CLI request
286294
-->
@@ -292,7 +300,8 @@ If present, the namespace scope for this CLI request
292300
<td colspan="2">--password string</td>
293301
</tr>
294302
<tr>
295-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
303+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
304+
<p>
296305
<!--
297306
Password for basic authentication to the API server
298307
-->
@@ -304,7 +313,8 @@ Password for basic authentication to the API server
304313
<td colspan="2">--profile string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:"none"</td>
305314
</tr>
306315
<tr>
307-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
316+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
317+
<p>
308318
<!--
309319
Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)
310320
-->
@@ -316,7 +326,8 @@ Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|m
316326
<td colspan="2">--profile-output string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:"profile.pprof"</td>
317327
</tr>
318328
<tr>
319-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
329+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
330+
<p>
320331
<!--
321332
Name of the file to write the profile to
322333
-->
@@ -328,7 +339,8 @@ Name of the file to write the profile to
328339
<td colspan="2">--request-timeout string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:"0"</td>
329340
</tr>
330341
<tr>
331-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
342+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
343+
<p>
332344
<!--
333345
The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.
334346
-->

0 commit comments

Comments
 (0)