Skip to content

Commit 5af79ed

Browse files
committed
[zh-cn]sync kubectl_create_serviceaccount
Signed-off-by: xin.li <[email protected]>
1 parent 1194953 commit 5af79ed

File tree

1 file changed

+72
-29
lines changed

1 file changed

+72
-29
lines changed

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

Lines changed: 72 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ If true, ignore any errors in templates when a field or map key is missing in th
5454
-->
5555
如果为 true,在模板中字段或映射键缺失时忽略模板中的错误。
5656
仅适用于 golang 和 jsonpath 输出格式。
57-
</p></td>
57+
</p>
58+
</td>
5859
</tr>
5960

6061
<tr>
@@ -68,7 +69,8 @@ Must be &quot;none&quot;, &quot;server&quot;, or &quot;client&quot;. If client s
6869
-->
6970
必须是 "none"、"server" 或 "client"。如果是 client 策略,仅打印将要发送的对象,而不实际发送。
7071
如果是 server 策略,提交服务器端请求而不持久化资源。
71-
</p></td>
72+
</p>
73+
</td>
7274
</tr>
7375

7476
<tr>
@@ -81,7 +83,8 @@ Must be &quot;none&quot;, &quot;server&quot;, or &quot;client&quot;. If client s
8183
Name of the manager used to track field ownership.
8284
-->
8385
用于跟踪字段属主关系的管理器的名称。
84-
</p></td>
86+
</p>
87+
</td>
8588
</tr>
8689

8790
<tr>
@@ -94,7 +97,8 @@ Name of the manager used to track field ownership.
9497
help for clusterrolebinding
9598
-->
9699
clusterrolebinding 操作的帮助命令。
97-
</p></td>
100+
</p>
101+
</td>
98102
</tr>
99103

100104
<tr>
@@ -108,7 +112,8 @@ Output format. One of: (json, yaml, name, go-template, go-template-file, templat
108112
-->
109113
输出格式。可选值为:
110114
json、yaml、name、go-template、go-template-file、template、templatefile、jsonpath、jsonpath-as-json、jsonpath-file。
111-
</p></td>
115+
</p>
116+
</td>
112117
</tr>
113118

114119
<tr>
@@ -121,8 +126,9 @@ json、yaml、name、go-template、go-template-file、template、templatefile、
121126
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.
122127
-->
123128
如果为 true,则当前对象的配置将被保存在其注解中。否则,注解将保持不变。
124-
当你希望后续对此对象执行 `kubectl apply` 操作时,此标志很有用。
125-
</p></td>
129+
当你希望后续对此对象执行 <code>kubectl apply</code> 操作时,此标志很有用。
130+
</p>
131+
</td>
126132
</tr>
127133

128134
<tr>
@@ -135,7 +141,8 @@ If true, the configuration of current object will be saved in its annotation. Ot
135141
If true, keep the managedFields when printing objects in JSON or YAML format.
136142
-->
137143
如果为 true,在以 JSON 或 YAML 格式打印对象时保留 managedFields。
138-
</p></td>
144+
</p>
145+
</td>
139146
</tr>
140147

141148
<tr>
@@ -160,7 +167,8 @@ unknown or duplicate fields.
160167
如果在 API 服务器上启用了服务器端字段验证,&quot;warn&quot; 将警告未知或重复的字段而不阻止请求,
161168
否则操作与 &quot;ignore&quot; 的表现相同。
162169
&quot;false&quot;&quot;ignore&quot; 将不会执行任何模式定义检查,而是静默删除所有未知或重复的字段。
163-
</p></td>
170+
</p>
171+
</td>
164172
</tr>
165173

166174
</tbody>
@@ -187,7 +195,8 @@ unknown or duplicate fields.
187195
Username to impersonate for the operation. User could be a regular user or a service account in a namespace.
188196
-->
189197
操作所用的伪装用户名。用户可以是常规用户或命名空间中的服务账号。
190-
</p></td>
198+
</p>
199+
</td>
191200
</tr>
192201

193202
<tr>
@@ -200,7 +209,8 @@ Username to impersonate for the operation. User could be a regular user or a ser
200209
Group to impersonate for the operation, this flag can be repeated to specify multiple groups.
201210
-->
202211
操作所用的伪装用户组,此标志可以被重复设置以指定多个组。
203-
</p></td>
212+
</p>
213+
</td>
204214
</tr>
205215

206216
<tr>
@@ -213,7 +223,8 @@ Group to impersonate for the operation, this flag can be repeated to specify mul
213223
UID to impersonate for the operation.
214224
-->
215225
操作所用的伪装 UID。
216-
</p></td>
226+
</p>
227+
</td>
217228
</tr>
218229

219230
<tr>
@@ -226,7 +237,8 @@ UID to impersonate for the operation.
226237
Default cache directory
227238
-->
228239
默认缓存目录。
229-
</p></td>
240+
</p>
241+
</td>
230242
</tr>
231243

232244
<tr>
@@ -239,7 +251,8 @@ Default cache directory
239251
Path to a cert file for the certificate authority
240252
-->
241253
证书机构的证书文件的路径。
242-
</p></td>
254+
</p>
255+
</td>
243256
</tr>
244257

245258
<tr>
@@ -252,7 +265,8 @@ Path to a cert file for the certificate authority
252265
Path to a client certificate file for TLS
253266
-->
254267
TLS 客户端证书文件的路径。
255-
</p></td>
268+
</p>
269+
</td>
256270
</tr>
257271

258272
<tr>
@@ -265,7 +279,8 @@ TLS 客户端证书文件的路径。
265279
Path to a client key file for TLS
266280
-->
267281
TLS 客户端密钥文件的路径。
268-
</p></td>
282+
</p>
283+
</td>
269284
</tr>
270285

271286
<tr>
@@ -278,7 +293,8 @@ TLS 客户端密钥文件的路径。
278293
The name of the kubeconfig cluster to use
279294
-->
280295
要使用的 kubeconfig 中集群的名称。
281-
</p></td>
296+
</p>
297+
</td>
282298
</tr>
283299

284300
<tr>
@@ -291,7 +307,8 @@ The name of the kubeconfig cluster to use
291307
The name of the kubeconfig context to use
292308
-->
293309
要使用的 kubeconfig 上下文的名称。
294-
</p></td>
310+
</p>
311+
</td>
295312
</tr>
296313

297314
<tr>
@@ -304,7 +321,8 @@ The name of the kubeconfig context to use
304321
If true, opt-out of response compression for all requests to the server
305322
-->
306323
如果为 true,则对服务器所有请求的响应不再压缩。
307-
</p></td>
324+
</p>
325+
</td>
308326
</tr>
309327

310328
<tr>
@@ -317,7 +335,8 @@ If true, opt-out of response compression for all requests to the server
317335
If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure
318336
-->
319337
如果为 true,则不检查服务器证书的有效性。这将使你的 HTTPS 连接不安全。
320-
</p></td>
338+
</p>
339+
</td>
321340
</tr>
322341

323342
<tr>
@@ -330,7 +349,23 @@ If true, the server's certificate will not be checked for validity. This will ma
330349
Path to the kubeconfig file to use for CLI requests.
331350
-->
332351
CLI 请求要使用的 kubeconfig 文件的路径。
333-
</p></td>
352+
</p>
353+
</td>
354+
</tr>
355+
356+
<tr>
357+
<td colspan="2">--kuberc string</td>
358+
</tr>
359+
<tr>
360+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
361+
<p>
362+
<!--
363+
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.
364+
-->
365+
用于偏好设置的 kuberc 文件的路径。可以通过导出 KUBECTL_KUBERC=false
366+
特性门控或关闭 KUBERC=off 特性门控来禁用此功能。
367+
</p>
368+
</td>
334369
</tr>
335370

336371
<tr>
@@ -370,7 +405,8 @@ Require server version to match client version
370405
If present, the namespace scope for this CLI request
371406
-->
372407
如果存在,则是此 CLI 请求的命名空间范围。
373-
</p></td>
408+
</p>
409+
</td>
374410
</tr>
375411

376412
<tr>
@@ -382,7 +418,8 @@ If present, the namespace scope for this CLI request
382418
Password for basic authentication to the API server
383419
-->
384420
对 API 服务器进行基本身份验证所用的密码。
385-
</p></td>
421+
</p>
422+
</td>
386423
</tr>
387424

388425
<tr>
@@ -394,7 +431,8 @@ Password for basic authentication to the API server
394431
Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)
395432
-->
396433
要记录的性能分析信息。可选值为(none|cpu|heap|goroutine|threadcreate|block|mutex)。
397-
</p></td>
434+
</p>
435+
</td>
398436
</tr>
399437

400438
<tr>
@@ -406,7 +444,8 @@ Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|m
406444
Name of the file to write the profile to
407445
-->
408446
性能分析信息要写入的目标文件的名称。
409-
</p></td>
447+
</p>
448+
</td>
410449
</tr>
411450

412451
<tr>
@@ -419,7 +458,8 @@ The length of time to wait before giving up on a single server request. Non-zero
419458
-->
420459
在放弃某个服务器请求之前等待的时长。非零值应包含相应的时间单位(例如 1s、2m、3h)。
421460
值为零表示请求不会超时。
422-
</p></td>
461+
</p>
462+
</td>
423463
</tr>
424464

425465
<tr>
@@ -431,7 +471,8 @@ The length of time to wait before giving up on a single server request. Non-zero
431471
The address and port of the Kubernetes API server
432472
-->
433473
Kubernetes API 服务器的地址和端口。
434-
</p></td>
474+
</p>
475+
</td>
435476
</tr>
436477

437478
<tr>
@@ -443,7 +484,8 @@ Kubernetes API 服务器的地址和端口。
443484
Writes in the storage driver will be buffered for this duration, and committed to the non memory backends as a single transaction
444485
-->
445486
对存储驱动的写入操作将被缓存的时长;缓存的操作会作为一个事务提交给非内存后端。
446-
</p></td>
487+
</p>
488+
</td>
447489
</tr>
448490

449491
<tr>
@@ -455,7 +497,8 @@ Writes in the storage driver will be buffered for this duration, and committed t
455497
database name
456498
-->
457499
数据库名称。
458-
</p></td>
500+
</p>
501+
</td>
459502
</tr>
460503

461504
<tr>

0 commit comments

Comments
 (0)