Skip to content

Commit 218ca7c

Browse files
committed
[zh-cn]sync kubectl_plugin/_index.md
Signed-off-by: xin.li <[email protected]>
1 parent d7aba21 commit 218ca7c

File tree

1 file changed

+56
-45
lines changed
  • content/zh-cn/docs/reference/kubectl/generated/kubectl_plugin

1 file changed

+56
-45
lines changed

content/zh-cn/docs/reference/kubectl/generated/kubectl_plugin/_index.md

Lines changed: 56 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ kubectl plugin list --name-only
5353

5454
## {{% heading "options" %}}
5555

56-
<table style="width: 100%; table-layout: fixed;">
56+
<table style="width: 100%; table-layout: fixed;">
5757
<colgroup>
5858
<col span="1" style="width: 10px;" />
5959
<col span="1" />
@@ -92,7 +92,8 @@ help for plugin
9292
<td colspan="2">--as string</td>
9393
</tr>
9494
<tr>
95-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
95+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
96+
<p>
9697
<!--
9798
Username to impersonate for the operation. User could be a regular user or a service account in a namespace.
9899
-->
@@ -104,7 +105,8 @@ Username to impersonate for the operation. User could be a regular user or a ser
104105
<td colspan="2">--as-group strings</td>
105106
</tr>
106107
<tr>
107-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
108+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
109+
<p>
108110
<!--
109111
Group to impersonate for the operation, this flag can be repeated to specify multiple groups.
110112
-->
@@ -116,7 +118,8 @@ Group to impersonate for the operation, this flag can be repeated to specify mul
116118
<td colspan="2">--as-uid string</td>
117119
</tr>
118120
<tr>
119-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
121+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
122+
<p>
120123
<!--
121124
UID to impersonate for the operation.
122125
-->
@@ -128,7 +131,8 @@ UID to impersonate for the operation.
128131
<td colspan="2">--cache-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: "$HOME/.kube/cache"-->默认值:"$HOME/.kube/cache"</td>
129132
</tr>
130133
<tr>
131-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
134+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
135+
<p>
132136
<!--
133137
Default cache directory
134138
-->
@@ -140,7 +144,8 @@ Default cache directory
140144
<td colspan="2">--certificate-authority string</td>
141145
</tr>
142146
<tr>
143-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
147+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
148+
<p>
144149
<!--
145150
Path to a cert file for the certificate authority
146151
-->
@@ -152,7 +157,8 @@ Path to a cert file for the certificate authority
152157
<td colspan="2">--client-certificate string</td>
153158
</tr>
154159
<tr>
155-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
160+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
161+
<p>
156162
<!--
157163
Path to a client certificate file for TLS
158164
-->
@@ -164,7 +170,8 @@ TLS 客户端证书文件的路径。
164170
<td colspan="2">--client-key string</td>
165171
</tr>
166172
<tr>
167-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
173+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
174+
<p>
168175
<!--
169176
Path to a client key file for TLS
170177
-->
@@ -176,7 +183,8 @@ TLS 客户端密钥文件的路径。
176183
<td colspan="2">--cluster string</td>
177184
</tr>
178185
<tr>
179-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
186+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
187+
<p>
180188
<!--
181189
The name of the kubeconfig cluster to use
182190
-->
@@ -188,43 +196,21 @@ The name of the kubeconfig cluster to use
188196
<td colspan="2">--context string</td>
189197
</tr>
190198
<tr>
191-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
199+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
200+
<p>
192201
<!--
193202
The name of the kubeconfig context to use
194203
-->
195204
要使用的 kubeconfig 上下文的名称。
196205
</p></td>
197206
</tr>
198207

199-
<tr>
200-
<td colspan="2">--default-not-ready-toleration-seconds int&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: 300-->默认值:300</td>
201-
</tr>
202-
<tr>
203-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
204-
<!--
205-
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.
206-
-->
207-
设置针对 notReady:NoExecute 的容忍度的 tolerationSeconds,默认添加到所有尚未设置此容忍度的 Pod。
208-
</p></td>
209-
</tr>
210-
211-
<tr>
212-
<td colspan="2">--default-unreachable-toleration-seconds int&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: 300-->默认值:300</td>
213-
</tr>
214-
<tr>
215-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
216-
<!--
217-
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.
218-
-->
219-
设置针对 unreachable:NoExecute 的容忍度的 tolerationSeconds,默认添加到所有尚未设置此容忍度的 Pod。
220-
</p></td>
221-
</tr>
222-
223208
<tr>
224209
<td colspan="2">--disable-compression</td>
225210
</tr>
226211
<tr>
227-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
212+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
213+
<p>
228214
<!--
229215
If true, opt-out of response compression for all requests to the server
230216
-->
@@ -236,7 +222,8 @@ If true, opt-out of response compression for all requests to the server
236222
<td colspan="2">--insecure-skip-tls-verify</td>
237223
</tr>
238224
<tr>
239-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
225+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
226+
<p>
240227
<!--
241228
If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure
242229
-->
@@ -248,19 +235,36 @@ If true, the server's certificate will not be checked for validity. This will ma
248235
<td colspan="2">--kubeconfig string</td>
249236
</tr>
250237
<tr>
251-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
238+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
239+
<p>
252240
<!--
253241
Path to the kubeconfig file to use for CLI requests.
254242
-->
255243
CLI 请求要使用的 kubeconfig 文件的路径。
256244
</p></td>
257245
</tr>
258246

247+
<tr>
248+
<td colspan="2">--kuberc string</td>
249+
</tr>
250+
<tr>
251+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
252+
<p>
253+
<!--
254+
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.
255+
-->
256+
用于偏好设置的 kuberc 文件的路径。可以通过导出 KUBECTL_KUBERC=false
257+
特性门控或关闭 KUBERC=off 特性门控来禁用此功能。
258+
</p>
259+
</td>
260+
</tr>
261+
259262
<tr>
260263
<td colspan="2">--match-server-version</td>
261264
</tr>
262265
<tr>
263-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
266+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
267+
<p>
264268
<!--
265269
Require server version to match client version
266270
-->
@@ -272,7 +276,8 @@ Require server version to match client version
272276
<td colspan="2">-n, --namespace string</td>
273277
</tr>
274278
<tr>
275-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
279+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
280+
<p>
276281
<!--
277282
If present, the namespace scope for this CLI request
278283
-->
@@ -284,7 +289,8 @@ If present, the namespace scope for this CLI request
284289
<td colspan="2">--password string</td>
285290
</tr>
286291
<tr>
287-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
292+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
293+
<p>
288294
<!--
289295
Password for basic authentication to the API server
290296
-->
@@ -296,7 +302,8 @@ Password for basic authentication to the API server
296302
<td colspan="2">--profile string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: "none"-->默认值:"none"</td>
297303
</tr>
298304
<tr>
299-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
305+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
306+
<p>
300307
<!--
301308
Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)
302309
-->
@@ -308,7 +315,8 @@ Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|m
308315
<td colspan="2">--profile-output string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: "profile.pprof"-->默认值:"profile.pprof"</td>
309316
</tr>
310317
<tr>
311-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
318+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
319+
<p>
312320
<!--
313321
Name of the file to write the profile to
314322
-->
@@ -320,7 +328,8 @@ Name of the file to write the profile to
320328
<td colspan="2">--request-timeout string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: "0"-->默认值:"0"</td>
321329
</tr>
322330
<tr>
323-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
331+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
332+
<p>
324333
<!--
325334
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.
326335
-->
@@ -333,7 +342,8 @@ The length of time to wait before giving up on a single server request. Non-zero
333342
<td colspan="2">-s, --server string</td>
334343
</tr>
335344
<tr>
336-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
345+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
346+
<p>
337347
<!--
338348
The address and port of the Kubernetes API server
339349
-->
@@ -345,7 +355,8 @@ Kubernetes API 服务器的地址和端口。
345355
<td colspan="2">--storage-driver-buffer-duration duration&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: 1m0s-->默认值:1m0s</td>
346356
</tr>
347357
<tr>
348-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
358+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
359+
<p>
349360
<!--
350361
Writes in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction
351362
-->

0 commit comments

Comments
 (0)