website/content/zh/docs/installing-on-linux/cluster-operation/remove-nodes.md
FeynmanZhou 6369605927 update download link for v3.0.0, sync /en to /zh
Signed-off-by: FeynmanZhou <pengfeizhou@yunify.com>
2020-09-02 13:46:29 +08:00

1.2 KiB

title keywords description weight
Remove Nodes kubernetes, kubesphere, scale, add-nodes How to add new nodes in an existing cluster 2345

Cordon a Node

Marking a node as unschedulable prevents the scheduler from placing new pods onto that Node, but does not affect existing Pods on the Node. This is useful as a preparatory step before a node reboot or other maintenance.

To mark a Node unschedulable, you can choose Nodes → Cluster Nodes from the menu, then find a node you want to remove from the cluster and click the Cordon button. It takes the same effect with the command kubectl cordon $NODENAME, you can see the Kubernetes Nodes for more details.

Cordon a Node

{{< notice note >}} Note: Pods that are part of a DaemonSet tolerate being run on an unschedulable Node. DaemonSets typically provide node-local services that should run on the Node even if it is being drained of workload applications. {{</ notice >}}

Delete a Node

You can delete the node by the following command:

./kk delete node <nodeName> -f config-sample.yaml