Remove a node from an MKE 4 cluster
The method for removing nodes from an MKE cluster depends on whether the node is a control plane node or a worker node.
Remove a control plane node
Refer to the k0s documentation, Remove or replace a controller for information on how to remove a control plane node from an MKE 4 cluster.
Remove a worker node
Delete the worker node from the cluster:
kubectl --kubeconfig ~/.mke/mke.kubeconf delete node <worker_node_name>
Run the following command sequence on the node itself:
k0s stop k0s reset reboot