Skip to content

Commit 36ec20f

Browse files
committed
[zh-cn]sync kubectl_create_clusterrolebinding.md
Signed-off-by: xin.li <[email protected]>
1 parent c75d9b3 commit 36ec20f

File tree

1 file changed

+58
-46
lines changed

1 file changed

+58
-46
lines changed

content/zh-cn/docs/reference/kubectl/generated/kubectl_create/kubectl_create_clusterrolebinding.md

Lines changed: 58 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,8 @@ If true, the configuration of current object will be saved in its annotation. Ot
151151
<td colspan="2">--serviceaccount strings</td>
152152
</tr>
153153
<tr>
154-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
154+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
155+
<p>
155156
<!--
156157
Service accounts to bind to the clusterrole, in the format &lt;namespace&gt;:&lt;name&gt;. The flag can be repeated to add multiple service accounts.
157158
-->
@@ -163,7 +164,8 @@ Service accounts to bind to the clusterrole, in the format &lt;namespace&gt;:&lt
163164
<td colspan="2">--show-managed-fields</td>
164165
</tr>
165166
<tr>
166-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
167+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
168+
<p>
167169
<!--
168170
If true, keep the managedFields when printing objects in JSON or YAML format.
169171
-->
@@ -175,7 +177,8 @@ If true, keep the managedFields when printing objects in JSON or YAML format.
175177
<td colspan="2">--template string</td>
176178
</tr>
177179
<tr>
178-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
180+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
181+
<p>
179182
<!--
180183
Template string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].
181184
-->
@@ -188,7 +191,8 @@ Template string or path to template file to use when -o=go-template, -o=go-templ
188191
<td colspan="2">--user strings</td>
189192
</tr>
190193
<tr>
191-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
194+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
195+
<p>
192196
<!--
193197
Usernames to bind to the clusterrole. The flag can be repeated to add multiple users.
194198
-->
@@ -200,7 +204,8 @@ Usernames to bind to the clusterrole. The flag can be repeated to add multiple u
200204
<td colspan="2">--validate string[="strict"]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:"strict"</td>
201205
</tr>
202206
<tr>
203-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
207+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
208+
<p>
204209
<!--
205210
Must be one of: strict (or true), warn, ignore (or false). &quot;true&quot; or &quot;strict&quot; will use a schema to validate the input and fail the request if invalid. It will perform server side validation if ServerSideFieldValidation is enabled on the api-server, but will fall back to less reliable client-side validation if not. &quot;warn&quot; will warn about unknown or duplicate fields without blocking the request if server-side field validation is enabled on the API server, and behave as &quot;ignore&quot; otherwise. &quot;false&quot; or &quot;ignore&quot; will not perform any schema validation, silently dropping any unknown or duplicate fields.
206211
-->
@@ -219,7 +224,7 @@ Must be one of: strict (or true), warn, ignore (or false). &quot;true&quot; or &
219224

220225
## {{% heading "parentoptions" %}}
221226

222-
<table style="width: 100%; table-layout: fixed;">
227+
<table style="width: 100%; table-layout: fixed;">
223228
<colgroup>
224229
<col span="1" style="width: 10px;" />
225230
<col span="1" />
@@ -230,7 +235,8 @@ Must be one of: strict (or true), warn, ignore (or false). &quot;true&quot; or &
230235
<td colspan="2">--as string</td>
231236
</tr>
232237
<tr>
233-
<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>
234240
<!--
235241
Username to impersonate for the operation. User could be a regular user or a service account in a namespace.
236242
-->
@@ -242,7 +248,8 @@ Username to impersonate for the operation. User could be a regular user or a ser
242248
<td colspan="2">--as-group strings</td>
243249
</tr>
244250
<tr>
245-
<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>
246253
<!--
247254
Group to impersonate for the operation, this flag can be repeated to specify multiple groups.
248255
-->
@@ -254,7 +261,8 @@ Group to impersonate for the operation, this flag can be repeated to specify mul
254261
<td colspan="2">--as-uid string</td>
255262
</tr>
256263
<tr>
257-
<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>
258266
<!--
259267
UID to impersonate for the operation.
260268
-->
@@ -266,7 +274,8 @@ UID to impersonate for the operation.
266274
<td colspan="2">--cache-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:"$HOME/.kube/cache"</td>
267275
</tr>
268276
<tr>
269-
<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>
270279
<!--
271280
Default cache directory
272281
-->
@@ -278,7 +287,8 @@ Default cache directory
278287
<td colspan="2">--certificate-authority string</td>
279288
</tr>
280289
<tr>
281-
<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>
282292
<!--
283293
Path to a cert file for the certificate authority
284294
-->
@@ -290,7 +300,8 @@ Path to a cert file for the certificate authority
290300
<td colspan="2">--client-certificate string</td>
291301
</tr>
292302
<tr>
293-
<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>
294305
<!--
295306
Path to a client certificate file for TLS
296307
-->
@@ -302,7 +313,8 @@ TLS 客户端证书文件的路径。
302313
<td colspan="2">--client-key string</td>
303314
</tr>
304315
<tr>
305-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
316+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
317+
<p>
306318
<!--
307319
Path to a client key file for TLS
308320
-->
@@ -314,7 +326,8 @@ TLS 客户端密钥文件的路径。
314326
<td colspan="2">--cluster string</td>
315327
</tr>
316328
<tr>
317-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
329+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
330+
<p>
318331
<!--
319332
The name of the kubeconfig cluster to use
320333
-->
@@ -326,43 +339,21 @@ The name of the kubeconfig cluster to use
326339
<td colspan="2">--context string</td>
327340
</tr>
328341
<tr>
329-
<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>
330344
<!--
331345
The name of the kubeconfig context to use
332346
-->
333347
要使用的 kubeconfig 上下文的名称。
334348
</p></td>
335349
</tr>
336350

337-
<tr>
338-
<td colspan="2">--default-not-ready-toleration-seconds int&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:300</td>
339-
</tr>
340-
<tr>
341-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
342-
<!--
343-
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.
344-
-->
345-
设置针对 notReady:NoExecute 的容忍度的 tolerationSeconds,默认添加到所有尚未设置此容忍度的 Pod。
346-
</p></td>
347-
</tr>
348-
349-
<tr>
350-
<td colspan="2">--default-unreachable-toleration-seconds int&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:300</td>
351-
</tr>
352-
<tr>
353-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
354-
<!--
355-
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.
356-
-->
357-
设置针对 unreachable:NoExecute 的容忍度的 tolerationSeconds,默认添加到所有尚未设置此容忍度的 Pod。
358-
</p></td>
359-
</tr>
360-
361351
<tr>
362352
<td colspan="2">--disable-compression</td>
363353
</tr>
364354
<tr>
365-
<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>
366357
<!--
367358
If true, opt-out of response compression for all requests to the server
368359
-->
@@ -555,7 +546,8 @@ table name
555546
<td colspan="2">--storage-driver-user string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:"root"</td>
556547
</tr>
557548
<tr>
558-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
549+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
550+
<p>
559551
<!--
560552
database username
561553
-->
@@ -567,7 +559,8 @@ database username
567559
<td colspan="2">--tls-server-name string</td>
568560
</tr>
569561
<tr>
570-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
562+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
563+
<p>
571564
<!--
572565
Server name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used
573566
-->
@@ -579,7 +572,8 @@ Server name to use for server certificate validation. If it is not provided, the
579572
<td colspan="2">--token string</td>
580573
</tr>
581574
<tr>
582-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
575+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
576+
<p>
583577
<!--
584578
Bearer token for authentication to the API server
585579
-->
@@ -591,7 +585,8 @@ Bearer token for authentication to the API server
591585
<td colspan="2">--username string</td>
592586
</tr>
593587
<tr>
594-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
588+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
589+
<p>
595590
<!--
596591
Username for basic authentication to the API server
597592
-->
@@ -603,19 +598,36 @@ Username for basic authentication to the API server
603598
<td colspan="2">--version version[=true]</td>
604599
</tr>
605600
<tr>
606-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
601+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
602+
<p>
607603
<!--
608604
--version, --version=raw prints version information and quits; --version=vX.Y.Z... sets the reported version
609605
-->
610606
--version, --version=raw 打印版本信息并退出;--version=vX.Y.Z... 设置报告的版本。
611607
</p></td>
612608
</tr>
613609

610+
<tr>
611+
<td colspan="2">--kuberc string</td>
612+
</tr>
613+
<tr>
614+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
615+
<p>
616+
<!--
617+
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.
618+
-->
619+
用于偏好设置的 kuberc 文件的路径。可以通过导出 KUBECTL_KUBERC=false
620+
特性门控或关闭 KUBERC=off 特性门控来禁用此功能。
621+
</p>
622+
</td>
623+
</tr>
624+
614625
<tr>
615626
<td colspan="2">--warnings-as-errors</td>
616627
</tr>
617628
<tr>
618-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
629+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
630+
<p>
619631
<!--
620632
Treat warnings received from the server as errors and exit with a non-zero exit code
621633
-->

0 commit comments

Comments
 (0)