< img height="1" width="1" style="display:none;" alt="" src="https://px.ads.linkedin.com/collect/?pid=3131724&fmt=gif" />

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

  1. 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
  2. Log in to the cluster master node and run the following command to delete the edge node.

    kubectl delete node <edgenode-name>
  3. 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.

Receive the latest news, articles and updates from KubeSphere


Thanks for the feedback. If you have a specific question about how to use KubeSphere, ask it on Slack. Open an issue in the GitHub repo if you want to report a problem or suggest an improvement.

What’s on this Page