Skip to content

Commit 4058de5

Browse files
authored
Merge pull request #52388 from my-git9/npa-25720
[zh-cn]sync kubectl_create_service_clusterip.md
2 parents e9722f1 + 548d7a9 commit 4058de5

File tree

1 file changed

+59
-46
lines changed

1 file changed

+59
-46
lines changed

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

Lines changed: 59 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@ Assign your own ClusterIP or set to 'None' for a 'headless' service (no loadbala
8383
<td colspan="2">--dry-run string[="unchanged"]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:"none"</td>
8484
</tr>
8585
<tr>
86-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
86+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
87+
<p>
8788
<!--
8889
Must be &quot;none&quot;, &quot;server&quot;, or &quot;client&quot;. If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource.
8990
-->
@@ -96,7 +97,8 @@ Must be &quot;none&quot;, &quot;server&quot;, or &quot;client&quot;. If client s
9697
<td colspan="2">--field-manager string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:"kubectl-create"</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
Name of the manager used to track field ownership.
102104
-->
@@ -108,7 +110,8 @@ Name of the manager used to track field ownership.
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 clusterip
114117
-->
@@ -120,7 +123,8 @@ clusterip 操作的帮助命令。
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">--show-managed-fields</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
If true, keep the managedFields when printing objects in JSON or YAML format.
152158
-->
@@ -158,7 +164,8 @@ If true, keep the managedFields when printing objects in JSON or YAML format.
158164
<td colspan="2">--tcp strings</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
Port pairs can be specified as '&lt;port&gt;:&lt;targetPort&gt;'.
164171
-->
@@ -170,7 +177,8 @@ Port pairs can be specified as '&lt;port&gt;:&lt;targetPort&gt;'.
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
189198
use a schema to validate the input and fail the request if invalid. It will perform server side validation
@@ -219,7 +228,8 @@ unknown or duplicate fields.
219228
<td colspan="2">--as string</td>
220229
</tr>
221230
<tr>
222-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
231+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
232+
<p>
223233
<!--
224234
Username to impersonate for the operation. User could be a regular user or a service account in a namespace.
225235
-->
@@ -231,7 +241,8 @@ Username to impersonate for the operation. User could be a regular user or a ser
231241
<td colspan="2">--as-group strings</td>
232242
</tr>
233243
<tr>
234-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
244+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
245+
<p>
235246
<!--
236247
Group to impersonate for the operation, this flag can be repeated to specify multiple groups.
237248
-->
@@ -243,7 +254,8 @@ Group to impersonate for the operation, this flag can be repeated to specify mul
243254
<td colspan="2">--as-uid string</td>
244255
</tr>
245256
<tr>
246-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
257+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
258+
<p>
247259
<!--
248260
UID to impersonate for the operation.
249261
-->
@@ -255,7 +267,8 @@ UID to impersonate for the operation.
255267
<td colspan="2">--cache-dir string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:"$HOME/.kube/cache"</td>
256268
</tr>
257269
<tr>
258-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
270+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
271+
<p>
259272
<!--
260273
Default cache directory
261274
-->
@@ -267,7 +280,8 @@ Default cache directory
267280
<td colspan="2">--certificate-authority string</td>
268281
</tr>
269282
<tr>
270-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
283+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
284+
<p>
271285
<!--
272286
Path to a cert file for the certificate authority
273287
-->
@@ -279,7 +293,8 @@ Path to a cert file for the certificate authority
279293
<td colspan="2">--client-certificate string</td>
280294
</tr>
281295
<tr>
282-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
296+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
297+
<p>
283298
<!--
284299
Path to a client certificate file for TLS
285300
-->
@@ -291,7 +306,8 @@ TLS 客户端证书文件的路径。
291306
<td colspan="2">--client-key string</td>
292307
</tr>
293308
<tr>
294-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
309+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
310+
<p>
295311
<!--
296312
Path to a client key file for TLS
297313
-->
@@ -303,7 +319,8 @@ TLS 客户端密钥文件的路径。
303319
<td colspan="2">--cluster string</td>
304320
</tr>
305321
<tr>
306-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
322+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
323+
<p>
307324
<!--
308325
The name of the kubeconfig cluster to use
309326
-->
@@ -315,43 +332,21 @@ The name of the kubeconfig cluster to use
315332
<td colspan="2">--context string</td>
316333
</tr>
317334
<tr>
318-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
335+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
336+
<p>
319337
<!--
320338
The name of the kubeconfig context to use
321339
-->
322340
要使用的 kubeconfig 上下文的名称。
323341
</p></td>
324342
</tr>
325343

326-
<tr>
327-
<td colspan="2">--default-not-ready-toleration-seconds int&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:300</td>
328-
</tr>
329-
<tr>
330-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
331-
<!--
332-
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.
333-
-->
334-
设置针对 notReady:NoExecute 的容忍度的 tolerationSeconds,默认添加到所有尚未设置此容忍度的 Pod。
335-
</p></td>
336-
</tr>
337-
338-
<tr>
339-
<td colspan="2">--default-unreachable-toleration-seconds int&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:300</td>
340-
</tr>
341-
<tr>
342-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
343-
<!--
344-
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.
345-
-->
346-
设置针对 unreachable:NoExecute 的容忍度的 tolerationSeconds,默认添加到所有尚未设置此容忍度的 Pod。
347-
</p></td>
348-
</tr>
349-
350344
<tr>
351345
<td colspan="2">--disable-compression</td>
352346
</tr>
353347
<tr>
354-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
348+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
349+
<p>
355350
<!--
356351
If true, opt-out of response compression for all requests to the server
357352
-->
@@ -363,7 +358,8 @@ If true, opt-out of response compression for all requests to the server
363358
<td colspan="2">--insecure-skip-tls-verify</td>
364359
</tr>
365360
<tr>
366-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
361+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
362+
<p>
367363
<!--
368364
If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure
369365
-->
@@ -375,19 +371,36 @@ If true, the server's certificate will not be checked for validity. This will ma
375371
<td colspan="2">--kubeconfig string</td>
376372
</tr>
377373
<tr>
378-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
374+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
375+
<p>
379376
<!--
380377
Path to the kubeconfig file to use for CLI requests.
381378
-->
382379
CLI 请求要使用的 kubeconfig 文件的路径。
383380
</p></td>
384381
</tr>
385382

383+
<tr>
384+
<td colspan="2">--kuberc string</td>
385+
</tr>
386+
<tr>
387+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
388+
<p>
389+
<!--
390+
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.
391+
-->
392+
用于偏好设置的 kuberc 文件的路径。可以通过导出 KUBECTL_KUBERC=false
393+
特性门控或关闭 KUBERC=off 特性门控来禁用此功能。
394+
</p>
395+
</td>
396+
</tr>
397+
386398
<tr>
387399
<td colspan="2">--match-server-version</td>
388400
</tr>
389401
<tr>
390-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
402+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
403+
<p>
391404
<!--
392405
Require server version to match client version
393406
-->

0 commit comments

Comments
 (0)