Skip to content

Commit 41cfab5

Browse files
authored
Merge pull request #52395 from my-git9/npa-276
[zh-cn]sync kubectl_create_rolebinding.md
2 parents 80b215e + 43b52b1 commit 41cfab5

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

Lines changed: 58 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,8 @@ rolebinding 操作的帮助命令。
131131
<td colspan="2">-o, --output string</td>
132132
</tr>
133133
<tr>
134-
<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>
135136
<!--
136137
Output format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).
137138
-->
@@ -144,7 +145,8 @@ json、yaml、name、go-template、go-template-file、template、templatefile、
144145
<td colspan="2">--role string</td>
145146
</tr>
146147
<tr>
147-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
148+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
149+
<p>
148150
<!--
149151
Role this RoleBinding should reference
150152
-->
@@ -156,7 +158,8 @@ Role this RoleBinding should reference
156158
<td colspan="2">--save-config</td>
157159
</tr>
158160
<tr>
159-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
161+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
162+
<p>
160163
<!--
161164
If true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.
162165
-->
@@ -169,7 +172,8 @@ If true, the configuration of current object will be saved in its annotation. Ot
169172
<td colspan="2">--serviceaccount strings</td>
170173
</tr>
171174
<tr>
172-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
175+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
176+
<p>
173177
<!--
174178
Service accounts to bind to the role, in the format &lt;namespace&gt;:&lt;name&gt;. The flag can be repeated to add multiple service accounts.
175179
-->
@@ -181,7 +185,8 @@ Service accounts to bind to the role, in the format &lt;namespace&gt;:&lt;name&g
181185
<td colspan="2">--show-managed-fields</td>
182186
</tr>
183187
<tr>
184-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
188+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
189+
<p>
185190
<!--
186191
If true, keep the managedFields when printing objects in JSON or YAML format.
187192
-->
@@ -193,7 +198,8 @@ If true, keep the managedFields when printing objects in JSON or YAML format.
193198
<td colspan="2">--template string</td>
194199
</tr>
195200
<tr>
196-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
201+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
202+
<p>
197203
<!--
198204
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].
199205
-->
@@ -206,7 +212,8 @@ Template string or path to template file to use when -o=go-template, -o=go-templ
206212
<td colspan="2">--user strings</td>
207213
</tr>
208214
<tr>
209-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
215+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
216+
<p>
210217
<!--
211218
Usernames to bind to the role. The flag can be repeated to add multiple users.
212219
-->
@@ -218,7 +225,8 @@ Usernames to bind to the role. The flag can be repeated to add multiple users.
218225
<td colspan="2">--validate string[="strict"]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:"strict"</td>
219226
</tr>
220227
<tr>
221-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
228+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
229+
<p>
222230
<!--
223231
Must be one of: strict (or true), warn, ignore (or false). &quot;true&quot; or &quot;strict&quot; will
224232
use a schema to validate the input and fail the request if invalid. It will perform server side validation
@@ -243,7 +251,7 @@ unknown or duplicate fields.
243251

244252
## {{% heading "parentoptions" %}}
245253

246-
<table style="width: 100%; table-layout: fixed;">
254+
<table style="width: 100%; table-layout: fixed;">
247255
<colgroup>
248256
<col span="1" style="width: 10px;" />
249257
<col span="1" />
@@ -254,7 +262,8 @@ unknown or duplicate fields.
254262
<td colspan="2">--as string</td>
255263
</tr>
256264
<tr>
257-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
265+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
266+
<p>
258267
<!--
259268
Username to impersonate for the operation. User could be a regular user or a service account in a namespace.
260269
-->
@@ -266,7 +275,8 @@ Username to impersonate for the operation. User could be a regular user or a ser
266275
<td colspan="2">--as-group strings</td>
267276
</tr>
268277
<tr>
269-
<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>
270280
<!--
271281
Group to impersonate for the operation, this flag can be repeated to specify multiple groups.
272282
-->
@@ -278,7 +288,8 @@ Group to impersonate for the operation, this flag can be repeated to specify mul
278288
<td colspan="2">--as-uid string</td>
279289
</tr>
280290
<tr>
281-
<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>
282293
<!--
283294
UID to impersonate for the operation.
284295
-->
@@ -290,7 +301,8 @@ UID to impersonate for the operation.
290301
<td colspan="2">--cache-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:"$HOME/.kube/cache"</td>
291302
</tr>
292303
<tr>
293-
<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>
294306
<!--
295307
Default cache directory
296308
-->
@@ -302,7 +314,8 @@ Default cache directory
302314
<td colspan="2">--certificate-authority string</td>
303315
</tr>
304316
<tr>
305-
<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>
306319
<!--
307320
Path to a cert file for the certificate authority
308321
-->
@@ -314,7 +327,8 @@ Path to a cert file for the certificate authority
314327
<td colspan="2">--client-certificate string</td>
315328
</tr>
316329
<tr>
317-
<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>
318332
<!--
319333
Path to a client certificate file for TLS
320334
-->
@@ -326,7 +340,8 @@ TLS 客户端证书文件的路径。
326340
<td colspan="2">--client-key string</td>
327341
</tr>
328342
<tr>
329-
<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>
330345
<!--
331346
Path to a client key file for TLS
332347
-->
@@ -338,7 +353,8 @@ TLS 客户端密钥文件的路径。
338353
<td colspan="2">--cluster string</td>
339354
</tr>
340355
<tr>
341-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
356+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
357+
<p>
342358
<!--
343359
The name of the kubeconfig cluster to use
344360
-->
@@ -350,43 +366,21 @@ The name of the kubeconfig cluster to use
350366
<td colspan="2">--context string</td>
351367
</tr>
352368
<tr>
353-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
369+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
370+
<p>
354371
<!--
355372
The name of the kubeconfig context to use
356373
-->
357374
要使用的 kubeconfig 上下文的名称。
358375
</p></td>
359376
</tr>
360377

361-
<tr>
362-
<td colspan="2">--default-not-ready-toleration-seconds int&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:300</td>
363-
</tr>
364-
<tr>
365-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
366-
<!--
367-
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.
368-
-->
369-
设置针对 notReady:NoExecute 的容忍度的 tolerationSeconds,默认添加到所有尚未设置此容忍度的 Pod。
370-
</p></td>
371-
</tr>
372-
373-
<tr>
374-
<td colspan="2">--default-unreachable-toleration-seconds int&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:300</td>
375-
</tr>
376-
<tr>
377-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
378-
<!--
379-
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.
380-
-->
381-
设置针对 unreachable:NoExecute 的容忍度的 tolerationSeconds,默认添加到所有尚未设置此容忍度的 Pod。
382-
</p></td>
383-
</tr>
384-
385378
<tr>
386379
<td colspan="2">--disable-compression</td>
387380
</tr>
388381
<tr>
389-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
382+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
383+
<p>
390384
<!--
391385
If true, opt-out of response compression for all requests to the server
392386
-->
@@ -398,7 +392,8 @@ If true, opt-out of response compression for all requests to the server
398392
<td colspan="2">--insecure-skip-tls-verify</td>
399393
</tr>
400394
<tr>
401-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
395+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
396+
<p>
402397
<!--
403398
If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure
404399
-->
@@ -410,19 +405,36 @@ If true, the server's certificate will not be checked for validity. This will ma
410405
<td colspan="2">--kubeconfig string</td>
411406
</tr>
412407
<tr>
413-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
408+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
409+
<p>
414410
<!--
415411
Path to the kubeconfig file to use for CLI requests.
416412
-->
417413
CLI 请求要使用的 kubeconfig 文件的路径。
418414
</p></td>
419415
</tr>
420416

417+
<tr>
418+
<td colspan="2">--kuberc string</td>
419+
</tr>
420+
<tr>
421+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
422+
<p>
423+
<!--
424+
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.
425+
-->
426+
用于偏好设置的 kuberc 文件的路径。可以通过导出 KUBECTL_KUBERC=false
427+
特性门控或关闭 KUBERC=off 特性门控来禁用此功能。
428+
</p>
429+
</td>
430+
</tr>
431+
421432
<tr>
422433
<td colspan="2">--match-server-version</td>
423434
</tr>
424435
<tr>
425-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
436+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
437+
<p>
426438
<!--
427439
Require server version to match client version
428440
-->

0 commit comments

Comments
 (0)