Remove Nodes

Cordon a Node

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.

To mark a node unschedulable, you can choose Cluster Nodes under Nodes from the left menu, find a node you want to remove from the cluster, and click the Cordon button. Alternatively, you can run the command kubectl cordon $NODENAME directly. See Kubernetes Nodes for more details.

Cordon a Node

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.

Delete a Node

You can delete the node by the following command:

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