diff --git a/content/en/docs/toolbox/web-kubectl.md b/content/en/docs/toolbox/web-kubectl.md index b0bb27781..349790651 100644 --- a/content/en/docs/toolbox/web-kubectl.md +++ b/content/en/docs/toolbox/web-kubectl.md @@ -6,7 +6,7 @@ linkTitle: "Web Kubectl" weight: 15500 --- -The Kubernetes command-line tool, kubectl, allows you to run commands on Kubernetes clusters. You can use kubectl to deploy applications, inspect and manage cluster resources, view logs and more. +The Kubernetes command-line tool, kubectl, allows you to run commands on Kubernetes clusters. You can use kubectl to deploy applications, inspect and manage cluster resources, view logs, and more. KubeSphere provides web kubectl on the console for user convenience. By default, in the current version, only the account granted the `platform-admin` role (such as the default account `admin`) has the permission to use web kubectl for cluster resource operation and management. diff --git a/content/zh/docs/toolbox/web-kubectl.md b/content/zh/docs/toolbox/web-kubectl.md index bf5cd9d24..10d96547f 100644 --- a/content/zh/docs/toolbox/web-kubectl.md +++ b/content/zh/docs/toolbox/web-kubectl.md @@ -16,11 +16,11 @@ KubeSphere 控制台提供 Web Kubectl,方便用户使用。在默认情况下 1. 使用被授予 `platform-admin` 角色的帐户登录 KubeSphere,在右下角的**工具箱**图标上悬停,然后在弹出菜单中选择 **Kubectl**。 - ![进入 Web Kubectl](/images/docs/zh-cn/toolbox/web-kubectl/web-kubectl-enter.PNG) + ![web-kubectl-enter](/images/docs/zh-cn/toolbox/web-kubectl/web-kubectl-enter.png) 2. 您可以在弹出窗口中看到 Kubectl 界面,如下图所示。如果您启用了多集群功能,则需要先在右上角的下拉列表中选择目标集群。如果未启用多集群功能,则该下拉列表不可见。 - ![Web Kubectl 集群选择](/images/docs/zh-cn/toolbox/web-kubectl/web-kubectl-cluster-select.PNG) + ![web-kubectl-cluster-select](/images/docs/zh-cn/toolbox/web-kubectl/web-kubectl-cluster-select.png) 3. 在命令行工具中输入 Kubectl 命令,查询并管理 Kubernetes 集群资源。例如,执行以下命令查询集群中所有 PVC 的状态。 @@ -30,6 +30,8 @@ KubeSphere 控制台提供 Web Kubectl,方便用户使用。在默认情况下 ![Web Kubectl 示例](/images/docs/zh-cn/toolbox/web-kubectl/web-kubectl-example.PNG) + ![web-kubectl-example](/images/docs/zh-cn/toolbox/web-kubectl/web-kubectl-example.png) + 4. 在终端窗口中使用以下语法运行 Kubectl 命令: ```bash diff --git a/static/images/docs/web-kubectl/web-kubectl-cluster-select.png b/static/images/docs/web-kubectl/web-kubectl-cluster-select.png index d728e5452..64d1872b3 100644 Binary files a/static/images/docs/web-kubectl/web-kubectl-cluster-select.png and b/static/images/docs/web-kubectl/web-kubectl-cluster-select.png differ diff --git a/static/images/docs/web-kubectl/web-kubectl-enter.png b/static/images/docs/web-kubectl/web-kubectl-enter.png index 17fe4bca3..3e97e09e1 100644 Binary files a/static/images/docs/web-kubectl/web-kubectl-enter.png and b/static/images/docs/web-kubectl/web-kubectl-enter.png differ diff --git a/static/images/docs/web-kubectl/web-kubectl-example.png b/static/images/docs/web-kubectl/web-kubectl-example.png index 36d21ba01..d4e71dd9b 100644 Binary files a/static/images/docs/web-kubectl/web-kubectl-example.png and b/static/images/docs/web-kubectl/web-kubectl-example.png differ diff --git a/static/images/docs/zh-cn/toolbox/web-kubectl/web-kubectl-cluster-select.PNG b/static/images/docs/zh-cn/toolbox/web-kubectl/web-kubectl-cluster-select.PNG index 10087ba34..8e067a916 100644 Binary files a/static/images/docs/zh-cn/toolbox/web-kubectl/web-kubectl-cluster-select.PNG and b/static/images/docs/zh-cn/toolbox/web-kubectl/web-kubectl-cluster-select.PNG differ diff --git a/static/images/docs/zh-cn/toolbox/web-kubectl/web-kubectl-enter.PNG b/static/images/docs/zh-cn/toolbox/web-kubectl/web-kubectl-enter.PNG index 82129d159..af632169b 100644 Binary files a/static/images/docs/zh-cn/toolbox/web-kubectl/web-kubectl-enter.PNG and b/static/images/docs/zh-cn/toolbox/web-kubectl/web-kubectl-enter.PNG differ diff --git a/static/images/docs/zh-cn/toolbox/web-kubectl/web-kubectl-example.PNG b/static/images/docs/zh-cn/toolbox/web-kubectl/web-kubectl-example.PNG index feddb9da0..71dc05f2d 100644 Binary files a/static/images/docs/zh-cn/toolbox/web-kubectl/web-kubectl-example.PNG and b/static/images/docs/zh-cn/toolbox/web-kubectl/web-kubectl-example.PNG differ