Removing a Node

Removing a Node

Without reinstalling Resonate RFID Reader Management, you can remove a machine (node) from a multi-node configuration (cluster) as outlined below. If the node is inaccessible, refer to Removing an Inaccessible Node From the Cluster instead.
You cannot remove the primary node. In addition, a multi-node cluster cannot have fewer than three nodes.
  1. On the node to remove, run the following command:
    microk8s leave
  2. On the primary node, run the following command and establish the name of node to remove:
    kubectl get nodes
    You can perform this step before or after performing the previous step.
  3. On the primary node, run the following command:
    microk8s remove-node <NODENAME>
    Replace <NODENAME> with the name of the node to remove.
The node is no longer part of the cluster.