Update docs web-kubectl
Signed-off-by: adakisme <serenashe@yunify.com>
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
|
|
@ -16,11 +16,11 @@ KubeSphere 控制台提供 Web Kubectl,方便用户使用。在默认情况下
|
|||
|
||||
1. 使用被授予 `platform-admin` 角色的帐户登录 KubeSphere,在右下角的**工具箱**图标上悬停,然后在弹出菜单中选择 **Kubectl**。
|
||||
|
||||

|
||||

|
||||
|
||||
2. 您可以在弹出窗口中看到 Kubectl 界面,如下图所示。如果您启用了多集群功能,则需要先在右上角的下拉列表中选择目标集群。如果未启用多集群功能,则该下拉列表不可见。
|
||||
|
||||

|
||||

|
||||
|
||||
3. 在命令行工具中输入 Kubectl 命令,查询并管理 Kubernetes 集群资源。例如,执行以下命令查询集群中所有 PVC 的状态。
|
||||
|
||||
|
|
@ -30,6 +30,8 @@ KubeSphere 控制台提供 Web Kubectl,方便用户使用。在默认情况下
|
|||
|
||||

|
||||
|
||||

|
||||
|
||||
4. 在终端窗口中使用以下语法运行 Kubectl 命令:
|
||||
|
||||
```bash
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 50 KiB After Width: | Height: | Size: 243 KiB |
|
Before Width: | Height: | Size: 99 KiB After Width: | Height: | Size: 359 KiB |
|
Before Width: | Height: | Size: 130 KiB After Width: | Height: | Size: 557 KiB |
|
Before Width: | Height: | Size: 53 KiB After Width: | Height: | Size: 252 KiB |
|
Before Width: | Height: | Size: 66 KiB After Width: | Height: | Size: 375 KiB |
|
Before Width: | Height: | Size: 284 KiB After Width: | Height: | Size: 573 KiB |