Skip to content

Commit 87e5708

Browse files
committed
[zh-cn]sync kubectl_config/_index.md
Signed-off-by: xin.li <[email protected]>
1 parent 57cbefb commit 87e5708

File tree

1 file changed

+56
-44
lines changed
  • content/zh-cn/docs/reference/kubectl/generated/kubectl_config

1 file changed

+56
-44
lines changed

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

Lines changed: 56 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,8 @@ use a particular kubeconfig file
8989
<td colspan="2">--as string</td>
9090
</tr>
9191
<tr>
92-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
92+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
93+
<p>
9394
<!--
9495
Username to impersonate for the operation. User could be a regular user or a service account in a namespace.
9596
-->
@@ -101,7 +102,8 @@ Username to impersonate for the operation. User could be a regular user or a ser
101102
<td colspan="2">--as-group strings</td>
102103
</tr>
103104
<tr>
104-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
105+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
106+
<p>
105107
<!--
106108
Group to impersonate for the operation, this flag can be repeated to specify multiple groups.
107109
-->
@@ -113,7 +115,8 @@ Group to impersonate for the operation, this flag can be repeated to specify mul
113115
<td colspan="2">--as-uid string</td>
114116
</tr>
115117
<tr>
116-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
118+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
119+
<p>
117120
<!--
118121
UID to impersonate for the operation.
119122
-->
@@ -125,7 +128,8 @@ UID to impersonate for the operation.
125128
<td colspan="2">--cache-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: "$HOME/.kube/cache"-->默认值:"$HOME/.kube/cache"</td>
126129
</tr>
127130
<tr>
128-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
131+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
132+
<p>
129133
<!--
130134
Default cache directory
131135
-->
@@ -137,7 +141,8 @@ Default cache directory
137141
<td colspan="2">--certificate-authority string</td>
138142
</tr>
139143
<tr>
140-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
144+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
145+
<p>
141146
<!--
142147
Path to a cert file for the certificate authority
143148
-->
@@ -149,7 +154,8 @@ Path to a cert file for the certificate authority
149154
<td colspan="2">--client-certificate string</td>
150155
</tr>
151156
<tr>
152-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
157+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
158+
<p>
153159
<!--
154160
Path to a client certificate file for TLS
155161
-->
@@ -161,7 +167,8 @@ TLS 客户端证书文件的路径。
161167
<td colspan="2">--client-key string</td>
162168
</tr>
163169
<tr>
164-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
170+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
171+
<p>
165172
<!--
166173
Path to a client key file for TLS
167174
-->
@@ -173,7 +180,8 @@ TLS 客户端密钥文件的路径。
173180
<td colspan="2">--cluster string</td>
174181
</tr>
175182
<tr>
176-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
183+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
184+
<p>
177185
<!--
178186
The name of the kubeconfig cluster to use
179187
-->
@@ -185,7 +193,8 @@ The name of the kubeconfig cluster to use
185193
<td colspan="2">--context string</td>
186194
</tr>
187195
<tr>
188-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
196+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
197+
<p>
189198
<!--
190199
The name of the kubeconfig context to use
191200
-->
@@ -194,58 +203,52 @@ The name of the kubeconfig context to use
194203
</tr>
195204

196205
<tr>
197-
<td colspan="2">--default-not-ready-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 notReady:NoExecute that is added by default to every pod that does not already have such a toleration.
203-
-->
204-
设置针对 notReady:NoExecute 的容忍度的 tolerationSeconds,默认添加到所有尚未设置此容忍度的 Pod。
205-
</p></td>
206-
</tr>
207-
208-
<tr>
209-
<td colspan="2">--default-unreachable-toleration-seconds int&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: 300-->默认值:300</td>
206+
<td colspan="2">--disable-compression</td>
210207
</tr>
211208
<tr>
212-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
209+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
210+
<p>
213211
<!--
214-
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.
212+
If true, opt-out of response compression for all requests to the server
215213
-->
216-
设置针对 unreachable:NoExecute 的容忍度的 tolerationSeconds,默认添加到所有尚未设置此容忍度的 Pod
214+
如果为 true,则对服务器所有请求的响应不再压缩
217215
</p></td>
218216
</tr>
219217

220218
<tr>
221-
<td colspan="2">--disable-compression</td>
219+
<td colspan="2">--insecure-skip-tls-verify</td>
222220
</tr>
223221
<tr>
224-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
222+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
223+
<p>
225224
<!--
226-
If true, opt-out of response compression for all requests to the server
225+
If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure
227226
-->
228-
如果为 true,则对服务器所有请求的响应不再压缩
227+
如果为 true,则不检查服务器证书的有效性。这将使你的 HTTPS 连接不安全
229228
</p></td>
230229
</tr>
231230

232231
<tr>
233-
<td colspan="2">--insecure-skip-tls-verify</td>
232+
<td colspan="2">--kuberc string</td>
234233
</tr>
235234
<tr>
236-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
235+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
236+
<p>
237237
<!--
238-
If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure
238+
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.
239239
-->
240-
如果为 true,则不检查服务器证书的有效性。这将使你的 HTTPS 连接不安全。
241-
</p></td>
240+
用于偏好设置的 kuberc 文件的路径。可以通过导出 KUBECTL_KUBERC=false
241+
特性门控或关闭 KUBERC=off 特性门控来禁用此功能。
242+
</p>
243+
</td>
242244
</tr>
243245

244246
<tr>
245247
<td colspan="2">--kubeconfig string</td>
246248
</tr>
247249
<tr>
248-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
250+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
251+
<p>
249252
<!--
250253
Path to the kubeconfig file to use for CLI requests.
251254
-->
@@ -257,7 +260,8 @@ CLI 请求要使用的 kubeconfig 文件的路径。
257260
<td colspan="2">--match-server-version</td>
258261
</tr>
259262
<tr>
260-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
263+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
264+
<p>
261265
<!--
262266
Require server version to match client version
263267
-->
@@ -269,7 +273,8 @@ Require server version to match client version
269273
<td colspan="2">-n, --namespace string</td>
270274
</tr>
271275
<tr>
272-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
276+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
277+
<p>
273278
<!--
274279
If present, the namespace scope for this CLI request
275280
-->
@@ -281,7 +286,8 @@ If present, the namespace scope for this CLI request
281286
<td colspan="2">--password string</td>
282287
</tr>
283288
<tr>
284-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
289+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
290+
<p>
285291
<!--
286292
Password for basic authentication to the API server
287293
-->
@@ -293,7 +299,8 @@ Password for basic authentication to the API server
293299
<td colspan="2">--profile string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: "none"-->默认值:"none"</td>
294300
</tr>
295301
<tr>
296-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
302+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
303+
<p>
297304
<!--
298305
Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)
299306
-->
@@ -305,7 +312,8 @@ Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|m
305312
<td colspan="2">--profile-output string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: "profile.pprof"-->默认值:"profile.pprof"</td>
306313
</tr>
307314
<tr>
308-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
315+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
316+
<p>
309317
<!--
310318
Name of the file to write the profile to
311319
-->
@@ -317,7 +325,8 @@ Name of the file to write the profile to
317325
<td colspan="2">--request-timeout string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: "0"-->默认值:"0"</td>
318326
</tr>
319327
<tr>
320-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
328+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
329+
<p>
321330
<!--
322331
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.
323332
-->
@@ -330,7 +339,8 @@ The length of time to wait before giving up on a single server request. Non-zero
330339
<td colspan="2">-s, --server string</td>
331340
</tr>
332341
<tr>
333-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
342+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
343+
<p>
334344
<!--
335345
The address and port of the Kubernetes API server
336346
-->
@@ -342,7 +352,8 @@ Kubernetes API 服务器的地址和端口。
342352
<td colspan="2">--storage-driver-buffer-duration duration&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: 1m0s-->默认值:1m0s</td>
343353
</tr>
344354
<tr>
345-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
355+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
356+
<p>
346357
<!--
347358
Writes in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction
348359
-->
@@ -354,7 +365,8 @@ Writes in the storage driver will be buffered for this duration, and committed t
354365
<td colspan="2">--storage-driver-db string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: "cadvisor"-->默认值:"cadvisor"</td>
355366
</tr>
356367
<tr>
357-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
368+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
369+
<p>
358370
<!--
359371
database name
360372
-->

0 commit comments

Comments
 (0)