• Recent blogs

    How to delete Kubernetes Worker Node

    1. Log in to any Kubernetes Master node.

    2. Mark the Node as unschedulable to prevent new pods from being assigned to it:

      kubectl cordon <node_ID>
      kubectl drain <node_ID>
    3. Remove the Kubernetes Node:

      kubectl delete node cmp<node_ID>

      Wait until the workloads are gracefully deleted and the Kubernetes Node is removed.

    4. Verify that the node is absent in the Kubernetes Nodes list:

      kubectl get nodes
    delete kubernetes worker node
    delete kubernetes worker node

    Here We are deleting kubernetes node "nodeone-1"


    No comments