@@ -24,7 +24,10 @@ kubectl config delete-user NAME
24
24
## {{% heading "examples" %}}
25
25
26
26
<!--
27
+ ```
27
28
# Delete the minikube user
29
+ kubectl config delete-user minikube
30
+ ```
28
31
-->
29
32
``` shell
30
33
# 删除 minikube 用户
@@ -69,7 +72,8 @@ help for delete-user
69
72
<td colspan =" 2 " >--as string</td >
70
73
</tr >
71
74
<tr >
72
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
75
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
76
+ <p >
73
77
<!--
74
78
Username to impersonate for the operation. User could be a regular user or a service account in a namespace.
75
79
-->
@@ -81,7 +85,8 @@ Username to impersonate for the operation. User could be a regular user or a ser
81
85
<td colspan =" 2 " >--as-group strings</td >
82
86
</tr >
83
87
<tr >
84
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
88
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
89
+ <p >
85
90
<!--
86
91
Group to impersonate for the operation, this flag can be repeated to specify multiple groups.
87
92
-->
@@ -93,7 +98,8 @@ Group to impersonate for the operation, this flag can be repeated to specify mul
93
98
<td colspan =" 2 " >--as-uid string</td >
94
99
</tr >
95
100
<tr >
96
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
101
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
102
+ <p >
97
103
<!--
98
104
UID to impersonate for the operation.
99
105
-->
@@ -105,7 +111,8 @@ UID to impersonate for the operation.
105
111
<td colspan =" 2 " >--cache-dir string  ;  ;  ;  ;  ; <!-- Default: "$HOME/.kube/cache"--> 默认值:"$HOME/.kube/cache"</td >
106
112
</tr >
107
113
<tr >
108
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
114
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
115
+ <p >
109
116
<!--
110
117
Default cache directory
111
118
-->
@@ -117,7 +124,8 @@ Default cache directory
117
124
<td colspan =" 2 " >--certificate-authority string</td >
118
125
</tr >
119
126
<tr >
120
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
127
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
128
+ <p >
121
129
<!--
122
130
Path to a cert file for the certificate authority
123
131
-->
@@ -129,7 +137,8 @@ Path to a cert file for the certificate authority
129
137
<td colspan =" 2 " >--client-certificate string</td >
130
138
</tr >
131
139
<tr >
132
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
140
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
141
+ <p >
133
142
<!--
134
143
Path to a client certificate file for TLS
135
144
-->
@@ -141,7 +150,8 @@ TLS 客户端证书文件的路径。
141
150
<td colspan =" 2 " >--client-key string</td >
142
151
</tr >
143
152
<tr >
144
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
153
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
154
+ <p >
145
155
<!--
146
156
Path to a client key file for TLS
147
157
-->
@@ -153,7 +163,8 @@ TLS 客户端密钥文件的路径。
153
163
<td colspan =" 2 " >--cluster string</td >
154
164
</tr >
155
165
<tr >
156
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
166
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
167
+ <p >
157
168
<!--
158
169
The name of the kubeconfig cluster to use
159
170
-->
@@ -165,43 +176,21 @@ The name of the kubeconfig cluster to use
165
176
<td colspan =" 2 " >--context string</td >
166
177
</tr >
167
178
<tr >
168
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
179
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
180
+ <p >
169
181
<!--
170
182
The name of the kubeconfig context to use
171
183
-->
172
184
要使用的 kubeconfig 上下文的名称。
173
185
</p ></td >
174
186
</tr >
175
187
176
- <tr >
177
- <td colspan =" 2 " >--default-not-ready-toleration-seconds int  ;  ;  ;  ;  ; <!-- Default: 300--> 默认值:300</td >
178
- </tr >
179
- <tr >
180
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
181
- <!--
182
- 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.
183
- -->
184
- 设置针对 notReady: NoExecute 的容忍度的 tolerationSeconds,默认添加到所有尚未设置此容忍度的 Pod。
185
- </p ></td >
186
- </tr >
187
-
188
- <tr >
189
- <td colspan =" 2 " >--default-unreachable-toleration-seconds int  ;  ;  ;  ;  ; <!-- Default: 300--> 默认值:300</td >
190
- </tr >
191
- <tr >
192
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
193
- <!--
194
- 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.
195
- -->
196
- 设置针对 unreachable: NoExecute 的容忍度的 tolerationSeconds,默认添加到所有尚未设置此容忍度的 Pod。
197
- </p ></td >
198
- </tr >
199
-
200
188
<tr >
201
189
<td colspan =" 2 " >--disable-compression</td >
202
190
</tr >
203
191
<tr >
204
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
192
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
193
+ <p >
205
194
<!--
206
195
If true, opt-out of response compression for all requests to the server
207
196
-->
@@ -213,7 +202,8 @@ If true, opt-out of response compression for all requests to the server
213
202
<td colspan =" 2 " >--insecure-skip-tls-verify</td >
214
203
</tr >
215
204
<tr >
216
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
205
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
206
+ <p >
217
207
<!--
218
208
If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure
219
209
-->
@@ -225,19 +215,36 @@ If true, the server's certificate will not be checked for validity. This will ma
225
215
<td colspan =" 2 " >--kubeconfig string</td >
226
216
</tr >
227
217
<tr >
228
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
218
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
219
+ <p >
229
220
<!--
230
221
Path to the kubeconfig file to use for CLI requests.
231
222
-->
232
223
CLI 请求要使用的 kubeconfig 文件的路径。
233
224
</p ></td >
234
225
</tr >
235
226
227
+ <tr >
228
+ <td colspan =" 2 " >--kuberc string</td >
229
+ </tr >
230
+ <tr >
231
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
232
+ <p >
233
+ <!--
234
+ 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.
235
+ -->
236
+ 用于偏好设置的 kuberc 文件的路径。可以通过导出 KUBECTL_KUBERC=false
237
+ 特性门控或关闭 KUBERC=off 特性门控来禁用此功能。
238
+ </p >
239
+ </td >
240
+ </tr >
241
+
236
242
<tr >
237
243
<td colspan =" 2 " >--match-server-version</td >
238
244
</tr >
239
245
<tr >
240
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
246
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
247
+ <p >
241
248
<!--
242
249
Require server version to match client version
243
250
-->
@@ -249,7 +256,8 @@ Require server version to match client version
249
256
<td colspan =" 2 " >-n, --namespace string</td >
250
257
</tr >
251
258
<tr >
252
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
259
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
260
+ <p >
253
261
<!--
254
262
If present, the namespace scope for this CLI request
255
263
-->
@@ -261,7 +269,8 @@ If present, the namespace scope for this CLI request
261
269
<td colspan =" 2 " >--password string</td >
262
270
</tr >
263
271
<tr >
264
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
272
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
273
+ <p >
265
274
<!--
266
275
Password for basic authentication to the API server
267
276
-->
@@ -273,7 +282,8 @@ Password for basic authentication to the API server
273
282
<td colspan =" 2 " >--profile string  ;  ;  ;  ;  ; <!-- Default: "none"--> 默认值:"none"</td >
274
283
</tr >
275
284
<tr >
276
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
285
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
286
+ <p >
277
287
<!--
278
288
Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)
279
289
-->
@@ -285,7 +295,8 @@ Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|m
285
295
<td colspan =" 2 " >--profile-output string  ;  ;  ;  ;  ; <!-- Default: "profile.pprof"--> 默认值:"profile.pprof"</td >
286
296
</tr >
287
297
<tr >
288
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
298
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
299
+ <p >
289
300
<!--
290
301
Name of the file to write the profile to
291
302
-->
@@ -297,7 +308,8 @@ Name of the file to write the profile to
297
308
<td colspan =" 2 " >--request-timeout string  ;  ;  ;  ;  ; <!-- Default: "0"--> 默认值:"0"</td >
298
309
</tr >
299
310
<tr >
300
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
311
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
312
+ <p >
301
313
<!--
302
314
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.
303
315
-->
@@ -310,7 +322,8 @@ The length of time to wait before giving up on a single server request. Non-zero
310
322
<td colspan =" 2 " >-s, --server string</td >
311
323
</tr >
312
324
<tr >
313
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
325
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
326
+ <p >
314
327
<!--
315
328
The address and port of the Kubernetes API server
316
329
-->
@@ -322,7 +335,8 @@ Kubernetes API 服务器的地址和端口。
322
335
<td colspan =" 2 " >--storage-driver-buffer-duration duration  ;  ;  ;  ;  ; <!-- Default: 1m0s--> 默认值:1m0s</td >
323
336
</tr >
324
337
<tr >
325
- <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" ><p >
338
+ <td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
339
+ <p >
326
340
<!--
327
341
Writes in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction
328
342
-->
0 commit comments