< img height="1" width="1" style="display:none;" alt="" src="https://px.ads.linkedin.com/collect/?pid=3131724&fmt=gif" />
Last updated: 2024-11-13 09:10:33
  • avatar

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


What’s on this Page