Skip to content

Commit e3edc19

Browse files
committed
[zh-cn]sync kubectl_config_unset.md
Signed-off-by: xin.li <xin.li@daocloud.io>
1 parent 03d1ba1 commit e3edc19

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_unset.md

Lines changed: 57 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ help for unset
7777
<td colspan="2">--as string</td>
7878
</tr>
7979
<tr>
80-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
80+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
81+
<p>
8182
<!--
8283
Username to impersonate for the operation. User could be a regular user or a service account in a namespace.
8384
-->
@@ -89,7 +90,8 @@ Username to impersonate for the operation. User could be a regular user or a ser
8990
<td colspan="2">--as-group strings</td>
9091
</tr>
9192
<tr>
92-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
93+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
94+
<p>
9395
<!--
9496
Group to impersonate for the operation, this flag can be repeated to specify multiple groups.
9597
-->
@@ -101,7 +103,8 @@ Group to impersonate for the operation, this flag can be repeated to specify mul
101103
<td colspan="2">--as-uid string</td>
102104
</tr>
103105
<tr>
104-
<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>
105108
<!--
106109
UID to impersonate for the operation.
107110
-->
@@ -113,7 +116,8 @@ UID to impersonate for the operation.
113116
<td colspan="2">--cache-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: "$HOME/.kube/cache"-->默认值:"$HOME/.kube/cache"</td>
114117
</tr>
115118
<tr>
116-
<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>
117121
<!--
118122
Default cache directory
119123
-->
@@ -125,7 +129,8 @@ Default cache directory
125129
<td colspan="2">--certificate-authority string</td>
126130
</tr>
127131
<tr>
128-
<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>
129134
<!--
130135
Path to a cert file for the certificate authority
131136
-->
@@ -137,7 +142,8 @@ Path to a cert file for the certificate authority
137142
<td colspan="2">--client-certificate string</td>
138143
</tr>
139144
<tr>
140-
<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>
141147
<!--
142148
Path to a client certificate file for TLS
143149
-->
@@ -149,7 +155,8 @@ TLS 客户端证书文件的路径。
149155
<td colspan="2">--client-key string</td>
150156
</tr>
151157
<tr>
152-
<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>
153160
<!--
154161
Path to a client key file for TLS
155162
-->
@@ -161,7 +168,8 @@ TLS 客户端密钥文件的路径。
161168
<td colspan="2">--cluster string</td>
162169
</tr>
163170
<tr>
164-
<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>
165173
<!--
166174
The name of the kubeconfig cluster to use
167175
-->
@@ -173,43 +181,21 @@ The name of the kubeconfig cluster to use
173181
<td colspan="2">--context string</td>
174182
</tr>
175183
<tr>
176-
<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>
177186
<!--
178187
The name of the kubeconfig context to use
179188
-->
180189
要使用的 kubeconfig 上下文的名称。
181190
</p></td>
182191
</tr>
183192

184-
<tr>
185-
<td colspan="2">--default-not-ready-toleration-seconds int&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: 300-->默认值:300</td>
186-
</tr>
187-
<tr>
188-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
189-
<!--
190-
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.
191-
-->
192-
设置针对 notReady:NoExecute 的容忍度的 tolerationSeconds,默认添加到所有尚未设置此容忍度的 Pod。
193-
</p></td>
194-
</tr>
195-
196-
<tr>
197-
<td colspan="2">--default-unreachable-toleration-seconds int&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: 300-->默认值:300</td>
198-
</tr>
199-
<tr>
200-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
201-
<!--
202-
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.
203-
-->
204-
设置针对 unreachable:NoExecute 的容忍度的 tolerationSeconds,默认添加到所有尚未设置此容忍度的 Pod。
205-
</p></td>
206-
</tr>
207-
208193
<tr>
209194
<td colspan="2">--disable-compression</td>
210195
</tr>
211196
<tr>
212-
<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>
213199
<!--
214200
If true, opt-out of response compression for all requests to the server
215201
-->
@@ -221,7 +207,8 @@ If true, opt-out of response compression for all requests to the server
221207
<td colspan="2">--insecure-skip-tls-verify</td>
222208
</tr>
223209
<tr>
224-
<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>
225212
<!--
226213
If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure
227214
-->
@@ -233,19 +220,36 @@ If true, the server's certificate will not be checked for validity. This will ma
233220
<td colspan="2">--kubeconfig string</td>
234221
</tr>
235222
<tr>
236-
<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>
237225
<!--
238226
Path to the kubeconfig file to use for CLI requests.
239227
-->
240228
CLI 请求要使用的 kubeconfig 文件的路径。
241229
</p></td>
242230
</tr>
243231

232+
<tr>
233+
<td colspan="2">--kuberc string</td>
234+
</tr>
235+
<tr>
236+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
237+
<p>
238+
<!--
239+
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.
240+
-->
241+
用于偏好设置的 kuberc 文件的路径。可以通过导出 KUBECTL_KUBERC=false
242+
特性门控或关闭 KUBERC=off 特性门控来禁用此功能。
243+
</p>
244+
</td>
245+
</tr>
246+
244247
<tr>
245248
<td colspan="2">--match-server-version</td>
246249
</tr>
247250
<tr>
248-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
251+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
252+
<p>
249253
<!--
250254
Require server version to match client version
251255
-->
@@ -257,7 +261,8 @@ Require server version to match client version
257261
<td colspan="2">-n, --namespace string</td>
258262
</tr>
259263
<tr>
260-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
264+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
265+
<p>
261266
<!--
262267
If present, the namespace scope for this CLI request
263268
-->
@@ -269,7 +274,8 @@ If present, the namespace scope for this CLI request
269274
<td colspan="2">--password string</td>
270275
</tr>
271276
<tr>
272-
<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>
273279
<!--
274280
Password for basic authentication to the API server
275281
-->
@@ -281,7 +287,8 @@ Password for basic authentication to the API server
281287
<td colspan="2">--profile string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: "none"-->默认值:"none"</td>
282288
</tr>
283289
<tr>
284-
<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>
285292
<!--
286293
Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)
287294
-->
@@ -293,7 +300,8 @@ Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|m
293300
<td colspan="2">--profile-output string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: "profile.pprof"-->默认值:"profile.pprof"</td>
294301
</tr>
295302
<tr>
296-
<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>
297305
<!--
298306
Name of the file to write the profile to
299307
-->
@@ -305,7 +313,8 @@ Name of the file to write the profile to
305313
<td colspan="2">--request-timeout string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: "0"-->默认值:"0"</td>
306314
</tr>
307315
<tr>
308-
<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>
309318
<!--
310319
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.
311320
-->
@@ -318,7 +327,8 @@ The length of time to wait before giving up on a single server request. Non-zero
318327
<td colspan="2">-s, --server string</td>
319328
</tr>
320329
<tr>
321-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
330+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
331+
<p>
322332
<!--
323333
The address and port of the Kubernetes API server
324334
-->
@@ -330,7 +340,8 @@ Kubernetes API 服务器的地址和端口。
330340
<td colspan="2">--storage-driver-buffer-duration duration&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: 1m0s-->默认值:1m0s</td>
331341
</tr>
332342
<tr>
333-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
343+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
344+
<p>
334345
<!--
335346
Writes in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction
336347
-->
@@ -342,7 +353,8 @@ Writes in the storage driver will be buffered for this duration, and committed t
342353
<td colspan="2">--storage-driver-db string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: "cadvisor"-->默认值:"cadvisor"</td>
343354
</tr>
344355
<tr>
345-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
356+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
357+
<p>
346358
<!--
347359
database name
348360
-->

0 commit comments

Comments
 (0)