Skip to content

Commit e29b43e

Browse files
authored
Merge pull request #52449 from my-git9/npe-5540
[zh-cn]sync kubectl_config_delete-context.md
2 parents e2777c1 + aed1cd7 commit e29b43e

File tree

1 file changed

+57
-45
lines changed

1 file changed

+57
-45
lines changed

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

Lines changed: 57 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@ help for delete-context
6969
<td colspan="2">--as string</td>
7070
</tr>
7171
<tr>
72-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
72+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
73+
<p>
7374
<!--
7475
Username to impersonate for the operation. User could be a regular user or a service account in a namespace.
7576
-->
@@ -81,7 +82,8 @@ Username to impersonate for the operation. User could be a regular user or a ser
8182
<td colspan="2">--as-group strings</td>
8283
</tr>
8384
<tr>
84-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
85+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
86+
<p>
8587
<!--
8688
Group to impersonate for the operation, this flag can be repeated to specify multiple groups.
8789
-->
@@ -93,7 +95,8 @@ Group to impersonate for the operation, this flag can be repeated to specify mul
9395
<td colspan="2">--as-uid string</td>
9496
</tr>
9597
<tr>
96-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
98+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
99+
<p>
97100
<!--
98101
UID to impersonate for the operation.
99102
-->
@@ -105,7 +108,8 @@ UID to impersonate for the operation.
105108
<td colspan="2">--cache-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: "$HOME/.kube/cache"-->默认值:"$HOME/.kube/cache"</td>
106109
</tr>
107110
<tr>
108-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
111+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
112+
<p>
109113
<!--
110114
Default cache directory
111115
-->
@@ -117,7 +121,8 @@ Default cache directory
117121
<td colspan="2">--certificate-authority string</td>
118122
</tr>
119123
<tr>
120-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
124+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
125+
<p>
121126
<!--
122127
Path to a cert file for the certificate authority
123128
-->
@@ -129,7 +134,8 @@ Path to a cert file for the certificate authority
129134
<td colspan="2">--client-certificate string</td>
130135
</tr>
131136
<tr>
132-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
137+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
138+
<p>
133139
<!--
134140
Path to a client certificate file for TLS
135141
-->
@@ -141,7 +147,8 @@ TLS 客户端证书文件的路径。
141147
<td colspan="2">--client-key string</td>
142148
</tr>
143149
<tr>
144-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
150+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
151+
<p>
145152
<!--
146153
Path to a client key file for TLS
147154
-->
@@ -153,7 +160,8 @@ TLS 客户端密钥文件的路径。
153160
<td colspan="2">--cluster string</td>
154161
</tr>
155162
<tr>
156-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
163+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
164+
<p>
157165
<!--
158166
The name of the kubeconfig cluster to use
159167
-->
@@ -165,43 +173,21 @@ The name of the kubeconfig cluster to use
165173
<td colspan="2">--context string</td>
166174
</tr>
167175
<tr>
168-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
176+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
177+
<p>
169178
<!--
170179
The name of the kubeconfig context to use
171180
-->
172181
要使用的 kubeconfig 上下文的名称。
173182
</p></td>
174183
</tr>
175184

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-
200185
<tr>
201186
<td colspan="2">--disable-compression</td>
202187
</tr>
203188
<tr>
204-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
189+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
190+
<p>
205191
<!--
206192
If true, opt-out of response compression for all requests to the server
207193
-->
@@ -213,7 +199,8 @@ If true, opt-out of response compression for all requests to the server
213199
<td colspan="2">--insecure-skip-tls-verify</td>
214200
</tr>
215201
<tr>
216-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
202+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
203+
<p>
217204
<!--
218205
If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure
219206
-->
@@ -225,19 +212,36 @@ If true, the server's certificate will not be checked for validity. This will ma
225212
<td colspan="2">--kubeconfig string</td>
226213
</tr>
227214
<tr>
228-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
215+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
216+
<p>
229217
<!--
230218
Path to the kubeconfig file to use for CLI requests.
231219
-->
232220
CLI 请求要使用的 kubeconfig 文件的路径。
233221
</p></td>
234222
</tr>
235223

224+
<tr>
225+
<td colspan="2">--kuberc string</td>
226+
</tr>
227+
<tr>
228+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
229+
<p>
230+
<!--
231+
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.
232+
-->
233+
用于偏好设置的 kuberc 文件的路径。可以通过导出 KUBECTL_KUBERC=false
234+
特性门控或关闭 KUBERC=off 特性门控来禁用此功能。
235+
</p>
236+
</td>
237+
</tr>
238+
236239
<tr>
237240
<td colspan="2">--match-server-version</td>
238241
</tr>
239242
<tr>
240-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
243+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
244+
<p>
241245
<!--
242246
Require server version to match client version
243247
-->
@@ -249,7 +253,8 @@ Require server version to match client version
249253
<td colspan="2">-n, --namespace string</td>
250254
</tr>
251255
<tr>
252-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
256+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
257+
<p>
253258
<!--
254259
If present, the namespace scope for this CLI request
255260
-->
@@ -273,7 +278,8 @@ Password for basic authentication to the API server
273278
<td colspan="2">--profile string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: "none"-->默认值:"none"</td>
274279
</tr>
275280
<tr>
276-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
281+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
282+
<p>
277283
<!--
278284
Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)
279285
-->
@@ -285,7 +291,8 @@ Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|m
285291
<td colspan="2">--profile-output string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: "profile.pprof"-->默认值:"profile.pprof"</td>
286292
</tr>
287293
<tr>
288-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
294+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
295+
<p>
289296
<!--
290297
Name of the file to write the profile to
291298
-->
@@ -297,7 +304,8 @@ Name of the file to write the profile to
297304
<td colspan="2">--request-timeout string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: "0"-->默认值:"0"</td>
298305
</tr>
299306
<tr>
300-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
307+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
308+
<p>
301309
<!--
302310
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.
303311
-->
@@ -310,7 +318,8 @@ The length of time to wait before giving up on a single server request. Non-zero
310318
<td colspan="2">-s, --server string</td>
311319
</tr>
312320
<tr>
313-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
321+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
322+
<p>
314323
<!--
315324
The address and port of the Kubernetes API server
316325
-->
@@ -322,7 +331,8 @@ Kubernetes API 服务器的地址和端口。
322331
<td colspan="2">--storage-driver-buffer-duration duration&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: 1m0s-->默认值:1m0s</td>
323332
</tr>
324333
<tr>
325-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
334+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
335+
<p>
326336
<!--
327337
Writes in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction
328338
-->
@@ -334,7 +344,8 @@ Writes in the storage driver will be buffered for this duration, and committed t
334344
<td colspan="2">--storage-driver-db string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: "cadvisor"-->默认值:"cadvisor"</td>
335345
</tr>
336346
<tr>
337-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
347+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
348+
<p>
338349
<!--
339350
database name
340351
-->
@@ -346,7 +357,8 @@ database name
346357
<td colspan="2">--storage-driver-host string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: "localhost:8086"-->默认值:"localhost:8086"</td>
347358
</tr>
348359
<tr>
349-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
360+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
361+
<p>
350362
<!--
351363
database host:port
352364
-->

0 commit comments

Comments
 (0)