Skip to content

Commit 0195ee9

Browse files
authored
Merge pull request #52420 from my-git9/npe-23863
[zh-cn]sync kubectl_auth/_index.md
2 parents e50e6b9 + b232256 commit 0195ee9

File tree

1 file changed

+57
-45
lines changed
  • content/zh-cn/docs/reference/kubectl/generated/kubectl_auth

1 file changed

+57
-45
lines changed

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

Lines changed: 57 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ help for auth
6464
<td colspan="2">--as string</td>
6565
</tr>
6666
<tr>
67-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
67+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
68+
<p>
6869
<!--
6970
Username to impersonate for the operation. User could be a regular user or a service account in a namespace.
7071
-->
@@ -76,7 +77,8 @@ Username to impersonate for the operation. User could be a regular user or a ser
7677
<td colspan="2">--as-group strings</td>
7778
</tr>
7879
<tr>
79-
<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>
8082
<!--
8183
Group to impersonate for the operation, this flag can be repeated to specify multiple groups.
8284
-->
@@ -88,7 +90,8 @@ Group to impersonate for the operation, this flag can be repeated to specify mul
8890
<td colspan="2">--as-uid string</td>
8991
</tr>
9092
<tr>
91-
<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>
9295
<!--
9396
UID to impersonate for the operation.
9497
-->
@@ -100,7 +103,8 @@ UID to impersonate for the operation.
100103
<td colspan="2">--cache-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: "$HOME/.kube/cache"-->默认值:"$HOME/.kube/cache"</td>
101104
</tr>
102105
<tr>
103-
<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>
104108
<!--
105109
Default cache directory
106110
-->
@@ -112,7 +116,8 @@ Default cache directory
112116
<td colspan="2">--certificate-authority string</td>
113117
</tr>
114118
<tr>
115-
<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>
116121
<!--
117122
Path to a cert file for the certificate authority
118123
-->
@@ -124,7 +129,8 @@ Path to a cert file for the certificate authority
124129
<td colspan="2">--client-certificate string</td>
125130
</tr>
126131
<tr>
127-
<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>
128134
<!--
129135
Path to a client certificate file for TLS
130136
-->
@@ -136,7 +142,8 @@ TLS 客户端证书文件的路径。
136142
<td colspan="2">--client-key string</td>
137143
</tr>
138144
<tr>
139-
<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>
140147
<!--
141148
Path to a client key file for TLS
142149
-->
@@ -148,7 +155,8 @@ TLS 客户端密钥文件的路径。
148155
<td colspan="2">--cluster string</td>
149156
</tr>
150157
<tr>
151-
<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>
152160
<!--
153161
The name of the kubeconfig cluster to use
154162
-->
@@ -160,43 +168,21 @@ The name of the kubeconfig cluster to use
160168
<td colspan="2">--context string</td>
161169
</tr>
162170
<tr>
163-
<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>
164173
<!--
165174
The name of the kubeconfig context to use
166175
-->
167176
要使用的 kubeconfig 上下文的名称。
168177
</p></td>
169178
</tr>
170179

171-
<tr>
172-
<td colspan="2">--default-not-ready-toleration-seconds int&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: 300-->默认值:300</td>
173-
</tr>
174-
<tr>
175-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
176-
<!--
177-
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.
178-
-->
179-
设置针对 notReady:NoExecute 的容忍度的 tolerationSeconds,默认添加到所有尚未设置此容忍度的 Pod。
180-
</p></td>
181-
</tr>
182-
183-
<tr>
184-
<td colspan="2">--default-unreachable-toleration-seconds int&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: 300-->默认值:300</td>
185-
</tr>
186-
<tr>
187-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
188-
<!--
189-
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.
190-
-->
191-
设置针对 unreachable:NoExecute 的容忍度的 tolerationSeconds,默认添加到所有尚未设置此容忍度的 Pod。
192-
</p></td>
193-
</tr>
194-
195180
<tr>
196181
<td colspan="2">--disable-compression</td>
197182
</tr>
198183
<tr>
199-
<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>
200186
<!--
201187
If true, opt-out of response compression for all requests to the server
202188
-->
@@ -208,7 +194,8 @@ If true, opt-out of response compression for all requests to the server
208194
<td colspan="2">--insecure-skip-tls-verify</td>
209195
</tr>
210196
<tr>
211-
<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>
212199
<!--
213200
If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure
214201
-->
@@ -220,19 +207,36 @@ If true, the server's certificate will not be checked for validity. This will ma
220207
<td colspan="2">--kubeconfig string</td>
221208
</tr>
222209
<tr>
223-
<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>
224212
<!--
225213
Path to the kubeconfig file to use for CLI requests.
226214
-->
227215
CLI 请求要使用的 kubeconfig 文件的路径。
228216
</p></td>
229217
</tr>
230218

219+
<tr>
220+
<td colspan="2">--kuberc string</td>
221+
</tr>
222+
<tr>
223+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
224+
<p>
225+
<!--
226+
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.
227+
-->
228+
用于偏好设置的 kuberc 文件的路径。可以通过导出 KUBECTL_KUBERC=false
229+
特性门控或关闭 KUBERC=off 特性门控来禁用此功能。
230+
</p>
231+
</td>
232+
</tr>
233+
231234
<tr>
232235
<td colspan="2">--match-server-version</td>
233236
</tr>
234237
<tr>
235-
<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>
236240
<!--
237241
Require server version to match client version
238242
-->
@@ -244,7 +248,8 @@ Require server version to match client version
244248
<td colspan="2">-n, --namespace string</td>
245249
</tr>
246250
<tr>
247-
<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>
248253
<!--
249254
If present, the namespace scope for this CLI request
250255
-->
@@ -256,7 +261,8 @@ If present, the namespace scope for this CLI request
256261
<td colspan="2">--password string</td>
257262
</tr>
258263
<tr>
259-
<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>
260266
<!--
261267
Password for basic authentication to the API server
262268
-->
@@ -268,7 +274,8 @@ Password for basic authentication to the API server
268274
<td colspan="2">--profile string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: "none"-->默认值:"none"</td>
269275
</tr>
270276
<tr>
271-
<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>
272279
<!--
273280
Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)
274281
-->
@@ -280,7 +287,8 @@ Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|m
280287
<td colspan="2">--profile-output string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: "profile.pprof"-->默认值:"profile.pprof"</td>
281288
</tr>
282289
<tr>
283-
<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>
284292
<!--
285293
Name of the file to write the profile to
286294
-->
@@ -292,7 +300,8 @@ Name of the file to write the profile to
292300
<td colspan="2">--request-timeout string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: "0"-->默认值:"0"</td>
293301
</tr>
294302
<tr>
295-
<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>
296305
<!--
297306
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.
298307
-->
@@ -305,7 +314,8 @@ The length of time to wait before giving up on a single server request. Non-zero
305314
<td colspan="2">-s, --server string</td>
306315
</tr>
307316
<tr>
308-
<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>
309319
<!--
310320
The address and port of the Kubernetes API server
311321
-->
@@ -317,7 +327,8 @@ Kubernetes API 服务器的地址和端口。
317327
<td colspan="2">--storage-driver-buffer-duration duration&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: 1m0s-->默认值:1m0s</td>
318328
</tr>
319329
<tr>
320-
<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>
321332
<!--
322333
Writes in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction
323334
-->
@@ -329,7 +340,8 @@ Writes in the storage driver will be buffered for this duration, and committed t
329340
<td colspan="2">--storage-driver-db string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: "cadvisor"-->默认值:"cadvisor"</td>
330341
</tr>
331342
<tr>
332-
<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>
333345
<!--
334346
database name
335347
-->

0 commit comments

Comments
 (0)