@@ -28,7 +28,7 @@ kubectl [flags]
28
28
29
29
## {{% heading "options" %}}
30
30
31
- <table style =" width : 100% ; table-layout : fixed ;" >
31
+ <table style =" width : 100% ; table-layout : fixed ;" >
32
32
<colgroup >
33
33
<col span =" 1 " style =" width : 10px ;" />
34
34
<col span =" 1 " />
@@ -39,7 +39,8 @@ kubectl [flags]
39
39
<td colspan =" 2 " >--as string</td >
40
40
</tr >
41
41
<tr >
42
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
42
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
43
+ <p >
43
44
<!--
44
45
Username to impersonate for the operation. User could be a regular user or a service account in a namespace.
45
46
-->
@@ -51,7 +52,8 @@ Username to impersonate for the operation. User could be a regular user or a ser
51
52
<td colspan =" 2 " >--as-group strings</td >
52
53
</tr >
53
54
<tr >
54
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
55
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
56
+ <p >
55
57
<!--
56
58
Group to impersonate for the operation, this flag can be repeated to specify multiple groups.
57
59
-->
@@ -63,7 +65,8 @@ Group to impersonate for the operation, this flag can be repeated to specify mul
63
65
<td colspan =" 2 " >--as-uid string</td >
64
66
</tr >
65
67
<tr >
66
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
68
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
69
+ <p >
67
70
<!--
68
71
UID to impersonate for the operation.
69
72
-->
@@ -75,7 +78,8 @@ UID to impersonate for the operation.
75
78
<td colspan =" 2 " >--cache-dir string  ;  ;  ;  ;  ; <!-- Default:--> 默认值:"$HOME/.kube/cache"</td >
76
79
</tr >
77
80
<tr >
78
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
81
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
82
+ <p >
79
83
<!--
80
84
Default cache directory
81
85
-->
@@ -87,7 +91,8 @@ Default cache directory
87
91
<td colspan =" 2 " >--certificate-authority string</td >
88
92
</tr >
89
93
<tr >
90
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
94
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
95
+ <p >
91
96
<!--
92
97
Path to a cert file for the certificate authority
93
98
-->
@@ -99,7 +104,8 @@ Path to a cert file for the certificate authority
99
104
<td colspan =" 2 " >--client-certificate string</td >
100
105
</tr >
101
106
<tr >
102
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
107
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
108
+ <p >
103
109
<!--
104
110
Path to a client certificate file for TLS
105
111
-->
@@ -111,7 +117,8 @@ TLS 客户端证书文件的路径。
111
117
<td colspan =" 2 " >--client-key string</td >
112
118
</tr >
113
119
<tr >
114
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
120
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
121
+ <p >
115
122
<!--
116
123
Path to a client key file for TLS
117
124
-->
@@ -123,7 +130,8 @@ TLS 客户端密钥文件的路径。
123
130
<td colspan =" 2 " >--cluster string</td >
124
131
</tr >
125
132
<tr >
126
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
133
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
134
+ <p >
127
135
<!--
128
136
The name of the kubeconfig cluster to use
129
137
-->
@@ -135,43 +143,21 @@ The name of the kubeconfig cluster to use
135
143
<td colspan =" 2 " >--context string</td >
136
144
</tr >
137
145
<tr >
138
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
146
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
147
+ <p >
139
148
<!--
140
149
The name of the kubeconfig context to use
141
150
-->
142
151
要使用的 kubeconfig 上下文的名称。
143
152
</p ></td >
144
153
</tr >
145
154
146
- <tr >
147
- <td colspan =" 2 " >--default-not-ready-toleration-seconds int  ;  ;  ;  ;  ; <!-- Default:--> 默认值:300</td >
148
- </tr >
149
- <tr >
150
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
151
- <!--
152
- 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.
153
- -->
154
- 设置针对 notReady: NoExecute 的容忍度的 tolerationSeconds,默认添加到所有尚未设置此容忍度的 Pod。
155
- </p ></td >
156
- </tr >
157
-
158
- <tr >
159
- <td colspan =" 2 " >--default-unreachable-toleration-seconds int  ;  ;  ;  ;  ; <!-- Default:--> 默认值:300</td >
160
- </tr >
161
- <tr >
162
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
163
- <!--
164
- 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.
165
- -->
166
- 设置针对 unreachable: NoExecute 的容忍度的 tolerationSeconds,默认添加到所有尚未设置此容忍度的 Pod。
167
- </p ></td >
168
- </tr >
169
-
170
155
<tr >
171
156
<td colspan =" 2 " >--disable-compression</td >
172
157
</tr >
173
158
<tr >
174
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
159
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
160
+ <p >
175
161
<!--
176
162
If true, opt-out of response compression for all requests to the server
177
163
-->
@@ -183,7 +169,8 @@ If true, opt-out of response compression for all requests to the server
183
169
<td colspan =" 2 " >-h, --help</td >
184
170
</tr >
185
171
<tr >
186
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
172
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
173
+ <p >
187
174
<!--
188
175
help for kubectl
189
176
-->
@@ -195,7 +182,8 @@ kubectl 操作的帮助命令。
195
182
<td colspan =" 2 " >--insecure-skip-tls-verify</td >
196
183
</tr >
197
184
<tr >
198
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
185
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
186
+ <p >
199
187
<!--
200
188
If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure
201
189
-->
@@ -207,19 +195,36 @@ If true, the server's certificate will not be checked for validity. This will ma
207
195
<td colspan =" 2 " >--kubeconfig string</td >
208
196
</tr >
209
197
<tr >
210
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
198
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
199
+ <p >
211
200
<!--
212
201
Path to the kubeconfig file to use for CLI requests.
213
202
-->
214
203
CLI 请求要使用的 kubeconfig 文件的路径。
215
204
</p ></td >
216
205
</tr >
217
206
207
+ <tr >
208
+ <td colspan =" 2 " >--kuberc string</td >
209
+ </tr >
210
+ <tr >
211
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
212
+ <p >
213
+ <!--
214
+ 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.
215
+ -->
216
+ 用于偏好设置的 kuberc 文件的路径。可以通过导出 KUBECTL_KUBERC=false
217
+ 特性门控或关闭 KUBERC=off 特性门控来禁用此功能。
218
+ </p >
219
+ </td >
220
+ </tr >
221
+
218
222
<tr >
219
223
<td colspan =" 2 " >--match-server-version</td >
220
224
</tr >
221
225
<tr >
222
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
226
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
227
+ <p >
223
228
<!--
224
229
Require server version to match client version
225
230
-->
@@ -231,7 +236,8 @@ Require server version to match client version
231
236
<td colspan =" 2 " >-n, --namespace string</td >
232
237
</tr >
233
238
<tr >
234
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
239
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
240
+ <p >
235
241
<!--
236
242
If present, the namespace scope for this CLI request
237
243
-->
@@ -243,7 +249,8 @@ If present, the namespace scope for this CLI request
243
249
<td colspan =" 2 " >--password string</td >
244
250
</tr >
245
251
<tr >
246
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
252
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
253
+ <p >
247
254
<!--
248
255
Password for basic authentication to the API server
249
256
-->
@@ -255,7 +262,8 @@ Password for basic authentication to the API server
255
262
<td colspan =" 2 " >--profile string  ;  ;  ;  ;  ; <!-- Default:--> 默认值:"none"</td >
256
263
</tr >
257
264
<tr >
258
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
265
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
266
+ <p >
259
267
<!--
260
268
Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)
261
269
-->
@@ -267,7 +275,8 @@ Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|m
267
275
<td colspan =" 2 " >--profile-output string  ;  ;  ;  ;  ; <!-- Default:--> 默认值:"profile.pprof"</td >
268
276
</tr >
269
277
<tr >
270
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
278
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
279
+ <p >
271
280
<!--
272
281
Name of the file to write the profile to
273
282
-->
@@ -279,7 +288,8 @@ Name of the file to write the profile to
279
288
<td colspan =" 2 " >--request-timeout string  ;  ;  ;  ;  ; <!-- Default:--> 默认值:"0"</td >
280
289
</tr >
281
290
<tr >
282
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
291
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
292
+ <p >
283
293
<!--
284
294
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.
285
295
-->
@@ -316,7 +326,8 @@ Writes in the storage driver will be buffered for this duration, and committed t
316
326
<td colspan =" 2 " >--storage-driver-db string  ;  ;  ;  ;  ; <!-- Default:--> 默认值:"cadvisor"</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
database name
322
333
-->
@@ -328,7 +339,8 @@ database name
328
339
<td colspan =" 2 " >--storage-driver-host string  ;  ;  ;  ;  ; <!-- Default:--> 默认值:"localhost:8086"</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
database host:port
334
346
-->
@@ -340,7 +352,8 @@ database host:port
340
352
<td colspan =" 2 " >--storage-driver-password string  ;  ;  ;  ;  ; <!-- Default:--> 默认值:"root"</td >
341
353
</tr >
342
354
<tr >
343
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
355
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
356
+ <p >
344
357
<!--
345
358
database password
346
359
-->
@@ -364,7 +377,8 @@ use secure connection with database
364
377
<td colspan =" 2 " >--storage-driver-table string  ;  ;  ;  ;  ; <!-- Default:--> 默认值:"stats"</td >
365
378
</tr >
366
379
<tr >
367
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
380
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
381
+ <p >
368
382
<!--
369
383
table name
370
384
-->
0 commit comments