Skip to content

Commit 50170af

Browse files
authored
Merge pull request #52445 from my-git9/npe-1266
[zh-cn]sync kubectl_config_delete-user.md
2 parents 8037d1a + 81a5676 commit 50170af

File tree

1 file changed

+58
-44
lines changed

1 file changed

+58
-44
lines changed

content/zh-cn/docs/reference/kubectl/generated/kubectl_config/kubectl_config_delete-user.md

Lines changed: 58 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@ kubectl config delete-user NAME
2424
## {{% heading "examples" %}}
2525

2626
<!--
27+
```
2728
# Delete the minikube user
29+
kubectl config delete-user minikube
30+
```
2831
-->
2932
```shell
3033
# 删除 minikube 用户
@@ -69,7 +72,8 @@ help for delete-user
6972
<td colspan="2">--as string</td>
7073
</tr>
7174
<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>
7377
<!--
7478
Username to impersonate for the operation. User could be a regular user or a service account in a namespace.
7579
-->
@@ -81,7 +85,8 @@ Username to impersonate for the operation. User could be a regular user or a ser
8185
<td colspan="2">--as-group strings</td>
8286
</tr>
8387
<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>
8590
<!--
8691
Group to impersonate for the operation, this flag can be repeated to specify multiple groups.
8792
-->
@@ -93,7 +98,8 @@ Group to impersonate for the operation, this flag can be repeated to specify mul
9398
<td colspan="2">--as-uid string</td>
9499
</tr>
95100
<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>
97103
<!--
98104
UID to impersonate for the operation.
99105
-->
@@ -105,7 +111,8 @@ UID to impersonate for the operation.
105111
<td colspan="2">--cache-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: "$HOME/.kube/cache"-->默认值:"$HOME/.kube/cache"</td>
106112
</tr>
107113
<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>
109116
<!--
110117
Default cache directory
111118
-->
@@ -117,7 +124,8 @@ Default cache directory
117124
<td colspan="2">--certificate-authority string</td>
118125
</tr>
119126
<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>
121129
<!--
122130
Path to a cert file for the certificate authority
123131
-->
@@ -129,7 +137,8 @@ Path to a cert file for the certificate authority
129137
<td colspan="2">--client-certificate string</td>
130138
</tr>
131139
<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>
133142
<!--
134143
Path to a client certificate file for TLS
135144
-->
@@ -141,7 +150,8 @@ TLS 客户端证书文件的路径。
141150
<td colspan="2">--client-key string</td>
142151
</tr>
143152
<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>
145155
<!--
146156
Path to a client key file for TLS
147157
-->
@@ -153,7 +163,8 @@ TLS 客户端密钥文件的路径。
153163
<td colspan="2">--cluster string</td>
154164
</tr>
155165
<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>
157168
<!--
158169
The name of the kubeconfig cluster to use
159170
-->
@@ -165,43 +176,21 @@ The name of the kubeconfig cluster to use
165176
<td colspan="2">--context string</td>
166177
</tr>
167178
<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>
169181
<!--
170182
The name of the kubeconfig context to use
171183
-->
172184
要使用的 kubeconfig 上下文的名称。
173185
</p></td>
174186
</tr>
175187

176-
<tr>
177-
<td colspan="2">--default-not-ready-toleration-seconds int&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--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-
200188
<tr>
201189
<td colspan="2">--disable-compression</td>
202190
</tr>
203191
<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>
205194
<!--
206195
If true, opt-out of response compression for all requests to the server
207196
-->
@@ -213,7 +202,8 @@ If true, opt-out of response compression for all requests to the server
213202
<td colspan="2">--insecure-skip-tls-verify</td>
214203
</tr>
215204
<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>
217207
<!--
218208
If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure
219209
-->
@@ -225,19 +215,36 @@ If true, the server's certificate will not be checked for validity. This will ma
225215
<td colspan="2">--kubeconfig string</td>
226216
</tr>
227217
<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>
229220
<!--
230221
Path to the kubeconfig file to use for CLI requests.
231222
-->
232223
CLI 请求要使用的 kubeconfig 文件的路径。
233224
</p></td>
234225
</tr>
235226

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+
236242
<tr>
237243
<td colspan="2">--match-server-version</td>
238244
</tr>
239245
<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>
241248
<!--
242249
Require server version to match client version
243250
-->
@@ -249,7 +256,8 @@ Require server version to match client version
249256
<td colspan="2">-n, --namespace string</td>
250257
</tr>
251258
<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>
253261
<!--
254262
If present, the namespace scope for this CLI request
255263
-->
@@ -261,7 +269,8 @@ If present, the namespace scope for this CLI request
261269
<td colspan="2">--password string</td>
262270
</tr>
263271
<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>
265274
<!--
266275
Password for basic authentication to the API server
267276
-->
@@ -273,7 +282,8 @@ Password for basic authentication to the API server
273282
<td colspan="2">--profile string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: "none"-->默认值:"none"</td>
274283
</tr>
275284
<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>
277287
<!--
278288
Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)
279289
-->
@@ -285,7 +295,8 @@ Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|m
285295
<td colspan="2">--profile-output string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: "profile.pprof"-->默认值:"profile.pprof"</td>
286296
</tr>
287297
<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>
289300
<!--
290301
Name of the file to write the profile to
291302
-->
@@ -297,7 +308,8 @@ Name of the file to write the profile to
297308
<td colspan="2">--request-timeout string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: "0"-->默认值:"0"</td>
298309
</tr>
299310
<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>
301313
<!--
302314
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.
303315
-->
@@ -310,7 +322,8 @@ The length of time to wait before giving up on a single server request. Non-zero
310322
<td colspan="2">-s, --server string</td>
311323
</tr>
312324
<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>
314327
<!--
315328
The address and port of the Kubernetes API server
316329
-->
@@ -322,7 +335,8 @@ Kubernetes API 服务器的地址和端口。
322335
<td colspan="2">--storage-driver-buffer-duration duration&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: 1m0s-->默认值:1m0s</td>
323336
</tr>
324337
<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>
326340
<!--
327341
Writes in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction
328342
-->

0 commit comments

Comments
 (0)