Skip to content

Commit 2bac9ea

Browse files
authored
Merge pull request #52467 from my-git9/npe-24366
[zh-cn]sync kubectl_config_rename-context.md
2 parents c7b4a37 + c568429 commit 2bac9ea

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_rename-context.md

Lines changed: 57 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@ help for rename-context
7979
<td colspan="2">--as string</td>
8080
</tr>
8181
<tr>
82-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
82+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
83+
<p>
8384
<!--
8485
Username to impersonate for the operation. User could be a regular user or a service account in a namespace.
8586
-->
@@ -91,7 +92,8 @@ Username to impersonate for the operation. User could be a regular user or a ser
9192
<td colspan="2">--as-group strings</td>
9293
</tr>
9394
<tr>
94-
<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>
9597
<!--
9698
Group to impersonate for the operation, this flag can be repeated to specify multiple groups.
9799
-->
@@ -103,7 +105,8 @@ Group to impersonate for the operation, this flag can be repeated to specify mul
103105
<td colspan="2">--as-uid string</td>
104106
</tr>
105107
<tr>
106-
<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>
107110
<!--
108111
UID to impersonate for the operation.
109112
-->
@@ -115,7 +118,8 @@ UID to impersonate for the operation.
115118
<td colspan="2">--cache-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: "$HOME/.kube/cache"-->默认值:"$HOME/.kube/cache"</td>
116119
</tr>
117120
<tr>
118-
<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>
119123
<!--
120124
Default cache directory
121125
-->
@@ -127,7 +131,8 @@ Default cache directory
127131
<td colspan="2">--certificate-authority string</td>
128132
</tr>
129133
<tr>
130-
<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>
131136
<!--
132137
Path to a cert file for the certificate authority
133138
-->
@@ -139,7 +144,8 @@ Path to a cert file for the certificate authority
139144
<td colspan="2">--client-certificate string</td>
140145
</tr>
141146
<tr>
142-
<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>
143149
<!--
144150
Path to a client certificate file for TLS
145151
-->
@@ -151,7 +157,8 @@ TLS 客户端证书文件的路径。
151157
<td colspan="2">--client-key string</td>
152158
</tr>
153159
<tr>
154-
<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>
155162
<!--
156163
Path to a client key file for TLS
157164
-->
@@ -163,7 +170,8 @@ TLS 客户端密钥文件的路径。
163170
<td colspan="2">--cluster string</td>
164171
</tr>
165172
<tr>
166-
<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>
167175
<!--
168176
The name of the kubeconfig cluster to use
169177
-->
@@ -175,43 +183,21 @@ The name of the kubeconfig cluster to use
175183
<td colspan="2">--context string</td>
176184
</tr>
177185
<tr>
178-
<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>
179188
<!--
180189
The name of the kubeconfig context to use
181190
-->
182191
要使用的 kubeconfig 上下文的名称。
183192
</p></td>
184193
</tr>
185194

186-
<tr>
187-
<td colspan="2">--default-not-ready-toleration-seconds int&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: 300-->默认值:300</td>
188-
</tr>
189-
<tr>
190-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
191-
<!--
192-
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.
193-
-->
194-
设置针对 notReady:NoExecute 的容忍度的 tolerationSeconds,默认添加到所有尚未设置此容忍度的 Pod。
195-
</p></td>
196-
</tr>
197-
198-
<tr>
199-
<td colspan="2">--default-unreachable-toleration-seconds int&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: 300-->默认值:300</td>
200-
</tr>
201-
<tr>
202-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
203-
<!--
204-
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.
205-
-->
206-
设置针对 unreachable:NoExecute 的容忍度的 tolerationSeconds,默认添加到所有尚未设置此容忍度的 Pod。
207-
</p></td>
208-
</tr>
209-
210195
<tr>
211196
<td colspan="2">--disable-compression</td>
212197
</tr>
213198
<tr>
214-
<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>
215201
<!--
216202
If true, opt-out of response compression for all requests to the server
217203
-->
@@ -223,7 +209,8 @@ If true, opt-out of response compression for all requests to the server
223209
<td colspan="2">--insecure-skip-tls-verify</td>
224210
</tr>
225211
<tr>
226-
<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>
227214
<!--
228215
If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure
229216
-->
@@ -235,19 +222,36 @@ If true, the server's certificate will not be checked for validity. This will ma
235222
<td colspan="2">--kubeconfig string</td>
236223
</tr>
237224
<tr>
238-
<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>
239227
<!--
240228
Path to the kubeconfig file to use for CLI requests.
241229
-->
242230
CLI 请求要使用的 kubeconfig 文件的路径。
243231
</p></td>
244232
</tr>
245233

234+
<tr>
235+
<td colspan="2">--kuberc string</td>
236+
</tr>
237+
<tr>
238+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
239+
<p>
240+
<!--
241+
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.
242+
-->
243+
用于偏好设置的 kuberc 文件的路径。可以通过导出 KUBECTL_KUBERC=false
244+
特性门控或关闭 KUBERC=off 特性门控来禁用此功能。
245+
</p>
246+
</td>
247+
</tr>
248+
246249
<tr>
247250
<td colspan="2">--match-server-version</td>
248251
</tr>
249252
<tr>
250-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
253+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
254+
<p>
251255
<!--
252256
Require server version to match client version
253257
-->
@@ -259,7 +263,8 @@ Require server version to match client version
259263
<td colspan="2">-n, --namespace string</td>
260264
</tr>
261265
<tr>
262-
<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>
263268
<!--
264269
If present, the namespace scope for this CLI request
265270
-->
@@ -271,7 +276,8 @@ If present, the namespace scope for this CLI request
271276
<td colspan="2">--password string</td>
272277
</tr>
273278
<tr>
274-
<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>
275281
<!--
276282
Password for basic authentication to the API server
277283
-->
@@ -283,7 +289,8 @@ Password for basic authentication to the API server
283289
<td colspan="2">--profile string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: "none"-->默认值:"none"</td>
284290
</tr>
285291
<tr>
286-
<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>
287294
<!--
288295
Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)
289296
-->
@@ -295,7 +302,8 @@ Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|m
295302
<td colspan="2">--profile-output string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: "profile.pprof"-->默认值:"profile.pprof"</td>
296303
</tr>
297304
<tr>
298-
<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>
299307
<!--
300308
Name of the file to write the profile to
301309
-->
@@ -307,7 +315,8 @@ Name of the file to write the profile to
307315
<td colspan="2">--request-timeout string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: "0"-->默认值:"0"</td>
308316
</tr>
309317
<tr>
310-
<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>
311320
<!--
312321
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.
313322
-->
@@ -320,7 +329,8 @@ The length of time to wait before giving up on a single server request. Non-zero
320329
<td colspan="2">-s, --server string</td>
321330
</tr>
322331
<tr>
323-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
332+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
333+
<p>
324334
<!--
325335
The address and port of the Kubernetes API server
326336
-->
@@ -332,7 +342,8 @@ Kubernetes API 服务器的地址和端口。
332342
<td colspan="2">--storage-driver-buffer-duration duration&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: 1m0s-->默认值:1m0s</td>
333343
</tr>
334344
<tr>
335-
<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>
336347
<!--
337348
Writes in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction
338349
-->
@@ -344,7 +355,8 @@ Writes in the storage driver will be buffered for this duration, and committed t
344355
<td colspan="2">--storage-driver-db string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: "cadvisor"-->默认值:"cadvisor"</td>
345356
</tr>
346357
<tr>
347-
<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>
348360
<!--
349361
database name
350362
-->

0 commit comments

Comments
 (0)