Delete Edge Nodes
This section describes how to delete an edge node.
Prerequisites
You should join a cluster and have the Node Management permission within the cluster. For more information, refer to "Cluster Members" and "Cluster Roles".
KubeEdge should have been installed and enabled.
The SSH login information for the KubeSphere cluster master node and the edge node has been obtained.
Steps
Log in to the edge node and run the following commands to remove the configuration in the edge node:
./keadm reset
apt remove mosquitto
rm -rf /var/lib/kubeedge /var/lib/edged /etc/kubeedge/ca /etc/kubeedge/certs
Log in to the cluster master node and run the following command to delete the edge node.
kubectl delete node <edgenode-name>
Run the following command on the cluster master node to check the current nodes:
kubectl get node
If the command output does not show the edge node, the edge node has been successfully deleted.
Feedback
Was this page Helpful?
Receive the latest news, articles and updates from KubeSphere