@@ -49,7 +49,8 @@ kubectl cordon foo
49
49
<td colspan =" 2 " >--dry-run string[="unchanged"]  ;  ;  ;  ;  ; <!-- Default:--> 默认值:"none"</td >
50
50
</tr >
51
51
<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 >
53
54
<!--
54
55
Must be "none", "server", or "client". 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.
55
56
-->
@@ -62,7 +63,8 @@ Must be "none", "server", or "client". If client s
62
63
<td colspan =" 2 " >-h, --help</td >
63
64
</tr >
64
65
<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 >
66
68
<!--
67
69
help for cordon
68
70
-->
@@ -74,7 +76,8 @@ cordon 操作的帮助命令。
74
76
<td colspan =" 2 " >-l, --selector string</td >
75
77
</tr >
76
78
<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 >
78
81
<!--
79
82
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.
80
83
-->
@@ -100,7 +103,8 @@ Selector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.
100
103
<td colspan =" 2 " >--as string</td >
101
104
</tr >
102
105
<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 >
104
108
<!--
105
109
Username to impersonate for the operation. User could be a regular user or a service account in a namespace.
106
110
-->
@@ -112,7 +116,8 @@ Username to impersonate for the operation. User could be a regular user or a ser
112
116
<td colspan =" 2 " >--as-group strings</td >
113
117
</tr >
114
118
<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 >
116
121
<!--
117
122
Group to impersonate for the operation, this flag can be repeated to specify multiple groups.
118
123
-->
@@ -124,7 +129,8 @@ Group to impersonate for the operation, this flag can be repeated to specify mul
124
129
<td colspan =" 2 " >--as-uid string</td >
125
130
</tr >
126
131
<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 >
128
134
<!--
129
135
UID to impersonate for the operation.
130
136
-->
@@ -136,7 +142,8 @@ UID to impersonate for the operation.
136
142
<td colspan =" 2 " >--cache-dir string  ;  ;  ;  ;  ; <!-- Default:--> 默认值:"$HOME/.kube/cache"</td >
137
143
</tr >
138
144
<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 >
140
147
<!--
141
148
Default cache directory
142
149
-->
@@ -148,7 +155,8 @@ Default cache directory
148
155
<td colspan =" 2 " >--certificate-authority string</td >
149
156
</tr >
150
157
<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 >
152
160
<!--
153
161
Path to a cert file for the certificate authority
154
162
-->
@@ -160,7 +168,8 @@ Path to a cert file for the certificate authority
160
168
<td colspan =" 2 " >--client-certificate string</td >
161
169
</tr >
162
170
<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 >
164
173
<!--
165
174
Path to a client certificate file for TLS
166
175
-->
@@ -172,7 +181,8 @@ TLS 客户端证书文件的路径。
172
181
<td colspan =" 2 " >--client-key string</td >
173
182
</tr >
174
183
<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 >
176
186
<!--
177
187
Path to a client key file for TLS
178
188
-->
@@ -184,7 +194,8 @@ TLS 客户端密钥文件的路径。
184
194
<td colspan =" 2 " >--cluster string</td >
185
195
</tr >
186
196
<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 >
188
199
<!--
189
200
The name of the kubeconfig cluster to use
190
201
-->
@@ -196,43 +207,21 @@ The name of the kubeconfig cluster to use
196
207
<td colspan =" 2 " >--context string</td >
197
208
</tr >
198
209
<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 >
200
212
<!--
201
213
The name of the kubeconfig context to use
202
214
-->
203
215
要使用的 kubeconfig 上下文的名称。
204
216
</p ></td >
205
217
</tr >
206
218
207
- <tr >
208
- <td colspan =" 2 " >--default-not-ready-toleration-seconds int  ;  ;  ;  ;  ; <!-- 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  ;  ;  ;  ;  ; <!-- 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
-
231
219
<tr >
232
220
<td colspan =" 2 " >--disable-compression</td >
233
221
</tr >
234
222
<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 >
236
225
<!--
237
226
If true, opt-out of response compression for all requests to the server
238
227
-->
@@ -244,7 +233,8 @@ If true, opt-out of response compression for all requests to the server
244
233
<td colspan =" 2 " >--insecure-skip-tls-verify</td >
245
234
</tr >
246
235
<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 >
248
238
<!--
249
239
If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure
250
240
-->
@@ -256,19 +246,36 @@ If true, the server's certificate will not be checked for validity. This will ma
256
246
<td colspan =" 2 " >--kubeconfig string</td >
257
247
</tr >
258
248
<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 >
260
251
<!--
261
252
Path to the kubeconfig file to use for CLI requests.
262
253
-->
263
254
CLI 请求要使用的 kubeconfig 文件的路径。
264
255
</p ></td >
265
256
</tr >
266
257
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
+
267
273
<tr >
268
274
<td colspan =" 2 " >--match-server-version</td >
269
275
</tr >
270
276
<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 >
272
279
<!--
273
280
Require server version to match client version
274
281
-->
@@ -280,7 +287,8 @@ Require server version to match client version
280
287
<td colspan =" 2 " >-n, --namespace string</td >
281
288
</tr >
282
289
<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 >
284
292
<!--
285
293
If present, the namespace scope for this CLI request
286
294
-->
@@ -292,7 +300,8 @@ If present, the namespace scope for this CLI request
292
300
<td colspan =" 2 " >--password string</td >
293
301
</tr >
294
302
<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 >
296
305
<!--
297
306
Password for basic authentication to the API server
298
307
-->
@@ -304,7 +313,8 @@ Password for basic authentication to the API server
304
313
<td colspan =" 2 " >--profile string  ;  ;  ;  ;  ; <!-- Default:--> 默认值:"none"</td >
305
314
</tr >
306
315
<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 >
308
318
<!--
309
319
Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)
310
320
-->
@@ -316,7 +326,8 @@ Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|m
316
326
<td colspan =" 2 " >--profile-output string  ;  ;  ;  ;  ; <!-- Default:--> 默认值:"profile.pprof"</td >
317
327
</tr >
318
328
<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 >
320
331
<!--
321
332
Name of the file to write the profile to
322
333
-->
@@ -328,7 +339,8 @@ Name of the file to write the profile to
328
339
<td colspan =" 2 " >--request-timeout string  ;  ;  ;  ;  ; <!-- Default:--> 默认值:"0"</td >
329
340
</tr >
330
341
<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 >
332
344
<!--
333
345
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.
334
346
-->
0 commit comments