Removing an unresponsive IBM Cloud Private cluster node
Remove an unresponsive node from your IBM® Cloud Private cluster.
- Set up kubectl CLI. See Accessing your cluster from the kubectl CLI.
-
Get a list of your cluster nodes.
kubectl get nodesFollowing is a sample output:
NAME STATUS ROLES AGE VERSION 172.16.151.126 Ready etcd,management,master,proxy 39d v1.11.1+icp-ee 172.16.151.182 NotReady worker 39d v1.11.1+icp-ee <<<<<<< unresponsive node 172.16.155.135 Ready worker 39d v1.11.1+icp-ee -
Delete the unresponsive node from your cluster.
kubectl delete node <node-IP-address>Following is a sample command and output:
kubectl delete node 172.16.151.182 node "172.16.151.182" deleted -
Remove the IP address of the unresponsive node from the
<installation_directory>/cluster/hostsfile.