Skip to content

Commit 09a057e

Browse files
authored
Merge pull request #52380 from my-git9/npa-14830
[zh-cn]sync kubectl_create_quota.md
2 parents 8043fd0 + 623c178 commit 09a057e

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

Lines changed: 58 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ Must be "none", "server", or "client". If client s
8484
<td colspan="2">--field-manager string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:"kubectl-create"</td>
8585
</tr>
8686
<tr>
87-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
87+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
88+
<p>
8889
<!--
8990
Name of the manager used to track field ownership.
9091
-->
@@ -96,7 +97,8 @@ Name of the manager used to track field ownership.
9697
<td colspan="2">--hard string</td>
9798
</tr>
9899
<tr>
99-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
100+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
101+
<p>
100102
<!--
101103
A comma-delimited set of resource=quantity pairs that define a hard limit.
102104
-->
@@ -108,7 +110,8 @@ A comma-delimited set of resource=quantity pairs that define a hard limit.
108110
<td colspan="2">-h, --help</td>
109111
</tr>
110112
<tr>
111-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
113+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
114+
<p>
112115
<!--
113116
help for quota
114117
-->
@@ -120,7 +123,8 @@ quota 操作的帮助命令。
120123
<td colspan="2">-o, --output string</td>
121124
</tr>
122125
<tr>
123-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
126+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
127+
<p>
124128
<!--
125129
Output format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file).
126130
-->
@@ -133,7 +137,8 @@ json、yaml、name、go-template、go-template-file、template、templatefile、
133137
<td colspan="2">--save-config</td>
134138
</tr>
135139
<tr>
136-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
140+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
141+
<p>
137142
<!--
138143
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.
139144
-->
@@ -146,7 +151,8 @@ If true, the configuration of current object will be saved in its annotation. Ot
146151
<td colspan="2">--scopes string</td>
147152
</tr>
148153
<tr>
149-
<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>
150156
<!--
151157
A comma-delimited set of quota scopes that must all match each object tracked by the quota.
152158
-->
@@ -158,7 +164,8 @@ A comma-delimited set of quota scopes that must all match each object tracked by
158164
<td colspan="2">--show-managed-fields</td>
159165
</tr>
160166
<tr>
161-
<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>
162169
<!--
163170
If true, keep the managedFields when printing objects in JSON or YAML format.
164171
-->
@@ -170,7 +177,8 @@ If true, keep the managedFields when printing objects in JSON or YAML format.
170177
<td colspan="2">--template string</td>
171178
</tr>
172179
<tr>
173-
<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>
174182
<!--
175183
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].
176184
-->
@@ -183,7 +191,8 @@ Template string or path to template file to use when -o=go-template, -o=go-templ
183191
<td colspan="2">--validate string[="strict"]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:"strict"</td>
184192
</tr>
185193
<tr>
186-
<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>
187196
<!--
188197
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.
189198
-->
@@ -202,7 +211,7 @@ Must be one of: strict (or true), warn, ignore (or false). &quot;true&quot; or &
202211

203212
## {{% heading "parentoptions" %}}
204213

205-
<table style="width: 100%; table-layout: fixed;">
214+
<table style="width: 100%; table-layout: fixed;">
206215
<colgroup>
207216
<col span="1" style="width: 10px;" />
208217
<col span="1" />
@@ -213,7 +222,8 @@ Must be one of: strict (or true), warn, ignore (or false). &quot;true&quot; or &
213222
<td colspan="2">--as string</td>
214223
</tr>
215224
<tr>
216-
<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>
217227
<!--
218228
Username to impersonate for the operation. User could be a regular user or a service account in a namespace.
219229
-->
@@ -225,7 +235,8 @@ Username to impersonate for the operation. User could be a regular user or a ser
225235
<td colspan="2">--as-group strings</td>
226236
</tr>
227237
<tr>
228-
<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>
229240
<!--
230241
Group to impersonate for the operation, this flag can be repeated to specify multiple groups.
231242
-->
@@ -237,7 +248,8 @@ Group to impersonate for the operation, this flag can be repeated to specify mul
237248
<td colspan="2">--as-uid string</td>
238249
</tr>
239250
<tr>
240-
<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>
241253
<!--
242254
UID to impersonate for the operation.
243255
-->
@@ -249,7 +261,8 @@ UID to impersonate for the operation.
249261
<td colspan="2">--cache-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:"$HOME/.kube/cache"</td>
250262
</tr>
251263
<tr>
252-
<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>
253266
<!--
254267
Default cache directory
255268
-->
@@ -261,7 +274,8 @@ Default cache directory
261274
<td colspan="2">--certificate-authority string</td>
262275
</tr>
263276
<tr>
264-
<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>
265279
<!--
266280
Path to a cert file for the certificate authority
267281
-->
@@ -273,7 +287,8 @@ Path to a cert file for the certificate authority
273287
<td colspan="2">--client-certificate string</td>
274288
</tr>
275289
<tr>
276-
<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>
277292
<!--
278293
Path to a client certificate file for TLS
279294
-->
@@ -285,7 +300,8 @@ TLS 客户端证书文件的路径。
285300
<td colspan="2">--client-key string</td>
286301
</tr>
287302
<tr>
288-
<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>
289305
<!--
290306
Path to a client key file for TLS
291307
-->
@@ -297,7 +313,8 @@ TLS 客户端密钥文件的路径。
297313
<td colspan="2">--cluster string</td>
298314
</tr>
299315
<tr>
300-
<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>
301318
<!--
302319
The name of the kubeconfig cluster to use
303320
-->
@@ -309,43 +326,21 @@ The name of the kubeconfig cluster to use
309326
<td colspan="2">--context string</td>
310327
</tr>
311328
<tr>
312-
<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>
313331
<!--
314332
The name of the kubeconfig context to use
315333
-->
316334
要使用的 kubeconfig 上下文的名称。
317335
</p></td>
318336
</tr>
319337

320-
<tr>
321-
<td colspan="2">--default-not-ready-toleration-seconds int&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:300</td>
322-
</tr>
323-
<tr>
324-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
325-
<!--
326-
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.
327-
-->
328-
设置针对 notReady:NoExecute 的容忍度的 tolerationSeconds,默认添加到所有尚未设置此容忍度的 Pod。
329-
</p></td>
330-
</tr>
331-
332-
<tr>
333-
<td colspan="2">--default-unreachable-toleration-seconds int&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:300</td>
334-
</tr>
335-
<tr>
336-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
337-
<!--
338-
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.
339-
-->
340-
设置针对 unreachable:NoExecute 的容忍度的 tolerationSeconds,默认添加到所有尚未设置此容忍度的 Pod。
341-
</p></td>
342-
</tr>
343-
344338
<tr>
345339
<td colspan="2">--disable-compression</td>
346340
</tr>
347341
<tr>
348-
<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>
349344
<!--
350345
If true, opt-out of response compression for all requests to the server
351346
-->
@@ -357,7 +352,8 @@ If true, opt-out of response compression for all requests to the server
357352
<td colspan="2">--insecure-skip-tls-verify</td>
358353
</tr>
359354
<tr>
360-
<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>
361357
<!--
362358
If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure
363359
-->
@@ -369,14 +365,30 @@ If true, the server's certificate will not be checked for validity. This will ma
369365
<td colspan="2">--kubeconfig string</td>
370366
</tr>
371367
<tr>
372-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
368+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
369+
<p>
373370
<!--
374371
Path to the kubeconfig file to use for CLI requests.
375372
-->
376373
CLI 请求要使用的 kubeconfig 文件的路径。
377374
</p></td>
378375
</tr>
379376

377+
<tr>
378+
<td colspan="2">--kuberc string</td>
379+
</tr>
380+
<tr>
381+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
382+
<p>
383+
<!--
384+
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.
385+
-->
386+
用于偏好设置的 kuberc 文件的路径。可以通过导出 KUBECTL_KUBERC=false
387+
特性门控或关闭 KUBERC=off 特性门控来禁用此功能。
388+
</p>
389+
</td>
390+
</tr>
391+
380392
<tr>
381393
<td colspan="2">--match-server-version</td>
382394
</tr>

0 commit comments

Comments
 (0)