Update docs: Remove nodes

Signed-off-by: adakisme <serenashe@yunify.com>
This commit is contained in:
adakisme 2021-07-22 10:38:03 +08:00
parent 0a9fbc8748
commit d0ea1ae4d6
5 changed files with 3 additions and 3 deletions

View File

@ -10,9 +10,9 @@ weight: 3620
Marking a node as unschedulable prevents the scheduler from placing new Pods onto that node while not affecting existing Pods on the node. This is useful as a preparatory step before a node reboot or other maintenance.
Log in to the console as `admin` and go to the **Cluster Management** page. To mark a node unschedulable, choose **Cluster Nodes** under **Nodes** from the left menu, find a node you want to remove from the cluster, and click **Cordon**. Alternatively, you can run the command `kubectl cordon $NODENAME` directly. See [Kubernetes Nodes](https://kubernetes.io/docs/concepts/architecture/nodes/) for more details.
Log in to the console as `admin` and go to the **Cluster Management** page. To mark a node unschedulable, choose **Cluster Nodes** under **Node Management** from the left menu, find a node you want to remove from the cluster, and click **Cordon**. Alternatively, you can run the command `kubectl cordon $NODENAME` directly. See [Kubernetes Nodes](https://kubernetes.io/docs/concepts/architecture/nodes/) for more details.
![cordon](/images/docs/installing-on-linux/add-and-delete-nodes/delete-nodes/cordon.jpg)
![cordon](/images/docs/installing-on-linux/add-and-delete-nodes/delete-nodes/cordon.png)
{{< notice note >}}

View File

@ -10,7 +10,7 @@ weight: 3620
将节点标记为不可调度可防止调度程序将新的 Pod 放置到该节点上,同时不会影响该节点上的现有 Pod。作为节点重启或者其他维护之前的准备步骤这十分有用。
`admin` 身份登录控制台,访问**集群管理**页面。若要将节点标记为不可调度,从左侧菜单中选择**节点管理**下的**集群节点**,找到想要从集群中删除的节点,点击**停止调度**按钮。或者,直接执行命令 `kubectl cordon $NODENAME`。有关更多详细信息,请参见 [Kubernetes 节点](https://kubernetes.io/docs/concepts/architecture/nodes/)。
`admin` 身份登录控制台,访问**集群管理**页面。若要将节点标记为不可调度,从左侧菜单中选择**节点管理**下的**集群节点**,找到想要从集群中删除的节点,点击**停止调度**。或者,直接执行命令 `kubectl cordon $NODENAME`。有关更多详细信息,请参见 [Kubernetes 节点](https://kubernetes.io/docs/concepts/architecture/nodes/)。
![cordon](/images/docs/zh-cn/installing-on-linux/add-and-delete-nodes/delete-nodes/cordon.png)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 370 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1002 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 237 KiB

After

Width:  |  Height:  |  Size: 982 KiB