Skip to content

Commit e0f2acc

Browse files
committed
[zh-cn]sync kubectl_config_set.md
Signed-off-by: xin.li <[email protected]>
1 parent 7a1e772 commit e0f2acc

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

Lines changed: 57 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,8 @@ When writing a []byte PROPERTY_VALUE, write the given string directly without ba
104104
<td colspan="2">--as string</td>
105105
</tr>
106106
<tr>
107-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
107+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
108+
<p>
108109
<!--
109110
Username to impersonate for the operation. User could be a regular user or a service account in a namespace.
110111
-->
@@ -116,7 +117,8 @@ Username to impersonate for the operation. User could be a regular user or a ser
116117
<td colspan="2">--as-group strings</td>
117118
</tr>
118119
<tr>
119-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
120+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
121+
<p>
120122
<!--
121123
Group to impersonate for the operation, this flag can be repeated to specify multiple groups.
122124
-->
@@ -128,7 +130,8 @@ Group to impersonate for the operation, this flag can be repeated to specify mul
128130
<td colspan="2">--as-uid string</td>
129131
</tr>
130132
<tr>
131-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
133+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
134+
<p>
132135
<!--
133136
UID to impersonate for the operation.
134137
-->
@@ -140,7 +143,8 @@ UID to impersonate for the operation.
140143
<td colspan="2">--cache-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: "$HOME/.kube/cache"-->默认值:"$HOME/.kube/cache"</td>
141144
</tr>
142145
<tr>
143-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
146+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
147+
<p>
144148
<!--
145149
Default cache directory
146150
-->
@@ -152,7 +156,8 @@ Default cache directory
152156
<td colspan="2">--certificate-authority string</td>
153157
</tr>
154158
<tr>
155-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
159+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
160+
<p>
156161
<!--
157162
Path to a cert file for the certificate authority
158163
-->
@@ -164,7 +169,8 @@ Path to a cert file for the certificate authority
164169
<td colspan="2">--client-certificate string</td>
165170
</tr>
166171
<tr>
167-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
172+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
173+
<p>
168174
<!--
169175
Path to a client certificate file for TLS
170176
-->
@@ -176,7 +182,8 @@ TLS 客户端证书文件的路径。
176182
<td colspan="2">--client-key string</td>
177183
</tr>
178184
<tr>
179-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
185+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
186+
<p>
180187
<!--
181188
Path to a client key file for TLS
182189
-->
@@ -188,7 +195,8 @@ TLS 客户端密钥文件的路径。
188195
<td colspan="2">--cluster string</td>
189196
</tr>
190197
<tr>
191-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
198+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
199+
<p>
192200
<!--
193201
The name of the kubeconfig cluster to use
194202
-->
@@ -200,43 +208,21 @@ The name of the kubeconfig cluster to use
200208
<td colspan="2">--context string</td>
201209
</tr>
202210
<tr>
203-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
211+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
212+
<p>
204213
<!--
205214
The name of the kubeconfig context to use
206215
-->
207216
要使用的 kubeconfig 上下文的名称。
208217
</p></td>
209218
</tr>
210219

211-
<tr>
212-
<td colspan="2">--default-not-ready-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 notReady:NoExecute that is added by default to every pod that does not already have such a toleration.
218-
-->
219-
设置针对 notReady:NoExecute 的容忍度的 tolerationSeconds,默认添加到所有尚未设置此容忍度的 Pod。
220-
</p></td>
221-
</tr>
222-
223-
<tr>
224-
<td colspan="2">--default-unreachable-toleration-seconds int&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: 300-->默认值:300</td>
225-
</tr>
226-
<tr>
227-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
228-
<!--
229-
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.
230-
-->
231-
设置针对 unreachable:NoExecute 的容忍度的 tolerationSeconds,默认添加到所有尚未设置此容忍度的 Pod。
232-
</p></td>
233-
</tr>
234-
235220
<tr>
236221
<td colspan="2">--disable-compression</td>
237222
</tr>
238223
<tr>
239-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
224+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
225+
<p>
240226
<!--
241227
If true, opt-out of response compression for all requests to the server
242228
-->
@@ -248,7 +234,8 @@ If true, opt-out of response compression for all requests to the server
248234
<td colspan="2">--insecure-skip-tls-verify</td>
249235
</tr>
250236
<tr>
251-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
237+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
238+
<p>
252239
<!--
253240
If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure
254241
-->
@@ -260,19 +247,36 @@ If true, the server's certificate will not be checked for validity. This will ma
260247
<td colspan="2">--kubeconfig string</td>
261248
</tr>
262249
<tr>
263-
<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>
264252
<!--
265253
Path to the kubeconfig file to use for CLI requests.
266254
-->
267255
CLI 请求要使用的 kubeconfig 文件的路径。
268256
</p></td>
269257
</tr>
270258

259+
<tr>
260+
<td colspan="2">--kuberc string</td>
261+
</tr>
262+
<tr>
263+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
264+
<p>
265+
<!--
266+
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.
267+
-->
268+
用于偏好设置的 kuberc 文件的路径。可以通过导出 KUBECTL_KUBERC=false
269+
特性门控或关闭 KUBERC=off 特性门控来禁用此功能。
270+
</p>
271+
</td>
272+
</tr>
273+
271274
<tr>
272275
<td colspan="2">--match-server-version</td>
273276
</tr>
274277
<tr>
275-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
278+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
279+
<p>
276280
<!--
277281
Require server version to match client version
278282
-->
@@ -284,7 +288,8 @@ Require server version to match client version
284288
<td colspan="2">-n, --namespace string</td>
285289
</tr>
286290
<tr>
287-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
291+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
292+
<p>
288293
<!--
289294
If present, the namespace scope for this CLI request
290295
-->
@@ -296,7 +301,8 @@ If present, the namespace scope for this CLI request
296301
<td colspan="2">--password string</td>
297302
</tr>
298303
<tr>
299-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
304+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
305+
<p>
300306
<!--
301307
Password for basic authentication to the API server
302308
-->
@@ -308,7 +314,8 @@ Password for basic authentication to the API server
308314
<td colspan="2">--profile string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: "none"-->默认值:"none"</td>
309315
</tr>
310316
<tr>
311-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
317+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
318+
<p>
312319
<!--
313320
Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)
314321
-->
@@ -320,7 +327,8 @@ Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|m
320327
<td colspan="2">--profile-output string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: "profile.pprof"-->默认值:"profile.pprof"</td>
321328
</tr>
322329
<tr>
323-
<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>
324332
<!--
325333
Name of the file to write the profile to
326334
-->
@@ -332,7 +340,8 @@ Name of the file to write the profile to
332340
<td colspan="2">--request-timeout string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: "0"-->默认值:"0"</td>
333341
</tr>
334342
<tr>
335-
<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>
336345
<!--
337346
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.
338347
-->
@@ -345,7 +354,8 @@ The length of time to wait before giving up on a single server request. Non-zero
345354
<td colspan="2">-s, --server string</td>
346355
</tr>
347356
<tr>
348-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
357+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
358+
<p>
349359
<!--
350360
The address and port of the Kubernetes API server
351361
-->
@@ -357,7 +367,8 @@ Kubernetes API 服务器的地址和端口。
357367
<td colspan="2">--storage-driver-buffer-duration duration&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: 1m0s-->默认值:1m0s</td>
358368
</tr>
359369
<tr>
360-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
370+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
371+
<p>
361372
<!--
362373
Writes in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction
363374
-->
@@ -369,7 +380,8 @@ Writes in the storage driver will be buffered for this duration, and committed t
369380
<td colspan="2">--storage-driver-db string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: "cadvisor"-->默认值:"cadvisor"</td>
370381
</tr>
371382
<tr>
372-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
383+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
384+
<p>
373385
<!--
374386
database name
375387
-->

0 commit comments

Comments
 (0)