From 7bad45edbe242a00da4c6270cef7f1e73711c8a1 Mon Sep 17 00:00:00 2001
From: "xin.li"
Date: Mon, 19 Aug 2024 21:50:14 +0800
Subject: [PATCH] [zh-cn] sync kubectl_plugin/* kubectl_patch
Signed-off-by: xin.li
---
.../kubectl/generated/kubectl_patch/_index.md | 24 ---------
.../generated/kubectl_plugin/_index.md | 49 +++++++++----------
.../kubectl_plugin/kubectl_plugin_list.md | 30 ++----------
3 files changed, 27 insertions(+), 76 deletions(-)
diff --git a/content/zh-cn/docs/reference/kubectl/generated/kubectl_patch/_index.md b/content/zh-cn/docs/reference/kubectl/generated/kubectl_patch/_index.md
index 5452f28f19..39cc665eb3 100644
--- a/content/zh-cn/docs/reference/kubectl/generated/kubectl_patch/_index.md
+++ b/content/zh-cn/docs/reference/kubectl/generated/kubectl_patch/_index.md
@@ -353,30 +353,6 @@ TLS 客户端密钥文件的路径。
-
---cloud-provider-gce-l7lb-src-cidrs cidrs 默认值:130.211.0.0/22,35.191.0.0/16 |
-
-
- |
-
-GCE 防火墙中为 L7 负载均衡流量代理和健康检查开放的 CIDR。
- |
-
-
-
---cloud-provider-gce-lb-src-cidrs cidrs 默认值:130.211.0.0/22,209.85.152.0/22,209.85.204.0/22,35.191.0.0/16 |
-
-
- |
-
-GCE 防火墙中为 L4 负载均衡流量代理和健康检查开放的 CIDR。
- |
-
-
--cluster string |
diff --git a/content/zh-cn/docs/reference/kubectl/generated/kubectl_plugin/_index.md b/content/zh-cn/docs/reference/kubectl/generated/kubectl_plugin/_index.md
index e340d87d35..e4238ccbe2 100644
--- a/content/zh-cn/docs/reference/kubectl/generated/kubectl_plugin/_index.md
+++ b/content/zh-cn/docs/reference/kubectl/generated/kubectl_plugin/_index.md
@@ -19,19 +19,38 @@ Provides utilities for interacting with plugins.
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.
- 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/
+ 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
-->
提供与插件交互的实用程序。
插件提供主要命令行发布版本所不具备的扩展功能,请参阅文档和示例以获取有关如何编写自己的插件的更多信息。
-发现和安装插件的最简单方法是通过 kubernetes 子项目 krew,要安装 krew 请参阅
+发现和安装插件的最简单方法是通过 kubernetes 子项目 [krew](krew.sigs.k8s.io),要安装 krew 请参阅
[krew.sigs.k8s.io](https://krew.sigs.k8s.io/docs/user-guide/setup/install/)。
-```
+```shell
kubectl plugin [flags]
```
+## {{% heading "examples" %}}
+
+
+```shell
+# 列出所有可用的插件
+kubectl plugin list
+
+# 仅列出可用插件的二进制名称,不包含路径
+kubectl plugin list --name-only
+```
+
## {{% heading "options" %}}
@@ -153,30 +172,6 @@ TLS 客户端密钥文件的路径。
-
---cloud-provider-gce-l7lb-src-cidrs cidrs 默认值:130.211.0.0/22,35.191.0.0/16 |
-
-
- |
-
-GCE 防火墙中为 L7 负载均衡流量代理和健康检查开放的 CIDR。
- |
-
-
-
---cloud-provider-gce-lb-src-cidrs cidrs 默认值:130.211.0.0/22,209.85.152.0/22,209.85.204.0/22,35.191.0.0/16 |
-
-
- |
-
-GCE 防火墙中为 L4 负载均衡流量代理和健康检查开放的 CIDR。
- |
-
-
--cluster string |
diff --git a/content/zh-cn/docs/reference/kubectl/generated/kubectl_plugin/kubectl_plugin_list.md b/content/zh-cn/docs/reference/kubectl/generated/kubectl_plugin/kubectl_plugin_list.md
index a67a6eff08..2593bca769 100644
--- a/content/zh-cn/docs/reference/kubectl/generated/kubectl_plugin/kubectl_plugin_list.md
+++ b/content/zh-cn/docs/reference/kubectl/generated/kubectl_plugin/kubectl_plugin_list.md
@@ -31,11 +31,15 @@ kubectl plugin list [flags]
## {{% heading "examples" %}}
```shell
# 列出所有可用的插件
kubectl plugin list
+
+# 仅列出可用插件的二进制名称,不包含路径
+kubectl plugin list --name-only
```
## {{% heading "options" %}}
@@ -169,30 +173,6 @@ TLS 客户端密钥文件的路径。
-
---cloud-provider-gce-l7lb-src-cidrs cidrs 默认值:130.211.0.0/22,35.191.0.0/16 |
-
-
- |
-
-GCE 防火墙中为 L7 负载均衡流量代理和健康检查开放的 CIDR。
- |
-
-
-
---cloud-provider-gce-lb-src-cidrs cidrs 默认值:130.211.0.0/22,209.85.152.0/22,209.85.204.0/22,35.191.0.0/16 |
-
-
- |
-
-GCE 防火墙中为 L4 负载均衡流量代理和健康检查开放的 CIDR。
- |
-
-
--cluster string |