Skip to content

Commit db59f20

Browse files
authored
Merge pull request #47575 from my-git9/pp-28055
[zh-cn] sync kubectl_plugin/* kubectl_patch
2 parents 4c4182c + 7bad45e commit db59f20

File tree

3 files changed

+27
-76
lines changed

3 files changed

+27
-76
lines changed

content/zh-cn/docs/reference/kubectl/generated/kubectl_patch/_index.md

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -353,30 +353,6 @@ TLS 客户端密钥文件的路径。
353353
</p></td>
354354
</tr>
355355

356-
<tr>
357-
<td colspan="2">--cloud-provider-gce-l7lb-src-cidrs cidrs&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:130.211.0.0/22,35.191.0.0/16</td>
358-
</tr>
359-
<tr>
360-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
361-
<!--
362-
CIDRs opened in GCE firewall for L7 LB traffic proxy &amp; health checks
363-
-->
364-
GCE 防火墙中为 L7 负载均衡流量代理和健康检查开放的 CIDR。
365-
</p></td>
366-
</tr>
367-
368-
<tr>
369-
<td colspan="2">--cloud-provider-gce-lb-src-cidrs cidrs&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default:-->默认值:130.211.0.0/22,209.85.152.0/22,209.85.204.0/22,35.191.0.0/16</td>
370-
</tr>
371-
<tr>
372-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
373-
<!--
374-
CIDRs opened in GCE firewall for L4 LB traffic proxy &amp; health checks
375-
-->
376-
GCE 防火墙中为 L4 负载均衡流量代理和健康检查开放的 CIDR。
377-
</p></td>
378-
</tr>
379-
380356
<tr>
381357
<td colspan="2">--cluster string</td>
382358
</tr>

content/zh-cn/docs/reference/kubectl/generated/kubectl_plugin/_index.md

Lines changed: 22 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,38 @@ Provides utilities for interacting with plugins.
1919
2020
Plugins provide extended functionality that is not part of the major command-line distribution. Please refer to the documentation and examples for more information about how write your own plugins.
2121
22-
The easiest way to discover and install plugins is via the kubernetes sub-project krew. To install krew, visit https://krew.sigs.k8s.io/docs/user-guide/setup/install/ krew.sigs.k8s.io https://krew.sigs.k8s.io/docs/user-guide/setup/install/
22+
The easiest way to discover and install plugins is via the kubernetes sub-project krew: [krew.sigs.k8s.io]. To install krew, visit https://krew.sigs.k8s.io/docs/user-guide/setup/install
2323
-->
2424
提供与插件交互的实用程序。
2525

2626
插件提供主要命令行发布版本所不具备的扩展功能,请参阅文档和示例以获取有关如何编写自己的插件的更多信息。
2727

28-
发现和安装插件的最简单方法是通过 kubernetes 子项目 krew,要安装 krew 请参阅
28+
发现和安装插件的最简单方法是通过 kubernetes 子项目 [krew](krew.sigs.k8s.io),要安装 krew 请参阅
2929
[krew.sigs.k8s.io](https://krew.sigs.k8s.io/docs/user-guide/setup/install/)
3030

31-
```
31+
```shell
3232
kubectl plugin [flags]
3333
```
3434

35+
## {{% heading "examples" %}}
36+
37+
<!--
38+
```
39+
# List all available plugins
40+
kubectl plugin list
41+
42+
# List only binary names of available plugins without paths
43+
kubectl plugin list --name-only
44+
```
45+
-->
46+
```shell
47+
# 列出所有可用的插件
48+
kubectl plugin list
49+
50+
# 仅列出可用插件的二进制名称,不包含路径
51+
kubectl plugin list --name-only
52+
```
53+
3554
## {{% heading "options" %}}
3655

3756
<table style="width: 100%; table-layout: fixed;">
@@ -153,30 +172,6 @@ TLS 客户端密钥文件的路径。
153172
</p></td>
154173
</tr>
155174

156-
<tr>
157-
<td colspan="2">--cloud-provider-gce-l7lb-src-cidrs cidrs&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: 130.211.0.0/22,35.191.0.0/16"-->默认值:130.211.0.0/22,35.191.0.0/16</td>
158-
</tr>
159-
<tr>
160-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
161-
<!--
162-
CIDRs opened in GCE firewall for L7 LB traffic proxy &amp; health checks
163-
-->
164-
GCE 防火墙中为 L7 负载均衡流量代理和健康检查开放的 CIDR。
165-
</p></td>
166-
</tr>
167-
168-
<tr>
169-
<td colspan="2">--cloud-provider-gce-lb-src-cidrs cidrs&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: 130.211.0.0/22,209.85.152.0/22,209.85.204.0/22,35.191.0.0/16-->默认值:130.211.0.0/22,209.85.152.0/22,209.85.204.0/22,35.191.0.0/16</td>
170-
</tr>
171-
<tr>
172-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
173-
<!--
174-
CIDRs opened in GCE firewall for L4 LB traffic proxy &amp; health checks
175-
-->
176-
GCE 防火墙中为 L4 负载均衡流量代理和健康检查开放的 CIDR。
177-
</p></td>
178-
</tr>
179-
180175
<tr>
181176
<td colspan="2">--cluster string</td>
182177
</tr>

content/zh-cn/docs/reference/kubectl/generated/kubectl_plugin/kubectl_plugin_list.md

Lines changed: 5 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,15 @@ kubectl plugin list [flags]
3131
## {{% heading "examples" %}}
3232

3333
<!--
34-
# List all available plugins
34+
# List all available plugins
35+
# List only binary names of available plugins without paths
3536
-->
3637
```shell
3738
# 列出所有可用的插件
3839
kubectl plugin list
40+
41+
# 仅列出可用插件的二进制名称,不包含路径
42+
kubectl plugin list --name-only
3943
```
4044

4145
## {{% heading "options" %}}
@@ -169,30 +173,6 @@ TLS 客户端密钥文件的路径。
169173
</p></td>
170174
</tr>
171175

172-
<tr>
173-
<td colspan="2">--cloud-provider-gce-l7lb-src-cidrs cidrs&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: 130.211.0.0/22,35.191.0.0/16"-->默认值:130.211.0.0/22,35.191.0.0/16</td>
174-
</tr>
175-
<tr>
176-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
177-
<!--
178-
CIDRs opened in GCE firewall for L7 LB traffic proxy &amp; health checks
179-
-->
180-
GCE 防火墙中为 L7 负载均衡流量代理和健康检查开放的 CIDR。
181-
</p></td>
182-
</tr>
183-
184-
<tr>
185-
<td colspan="2">--cloud-provider-gce-lb-src-cidrs cidrs&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<!--Default: 130.211.0.0/22,209.85.152.0/22,209.85.204.0/22,35.191.0.0/16-->默认值:130.211.0.0/22,209.85.152.0/22,209.85.204.0/22,35.191.0.0/16</td>
186-
</tr>
187-
<tr>
188-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
189-
<!--
190-
CIDRs opened in GCE firewall for L4 LB traffic proxy &amp; health checks
191-
-->
192-
GCE 防火墙中为 L4 负载均衡流量代理和健康检查开放的 CIDR。
193-
</p></td>
194-
</tr>
195-
196176
<tr>
197177
<td colspan="2">--cluster string</td>
198178
</tr>

0 commit comments

Comments
 (0)