diff --git a/cluster/remove.go b/cluster/remove.go index 9afcaf10..d310c9ad 100644 --- a/cluster/remove.go +++ b/cluster/remove.go @@ -85,6 +85,9 @@ func (c *Cluster) RemoveOldNodes(ctx context.Context) error { } uniqueHosts := hosts.GetUniqueHostList(c.EtcdHosts, c.ControlPlaneHosts, c.WorkerHosts) for _, node := range nodeList.Items { + if k8s.IsNodeReady(node) { + continue + } host := &hosts.Host{} host.HostnameOverride = node.Name if !hosts.IsNodeInList(host, uniqueHosts) {