This message was deleted.
# rke2
a
This message was deleted.
c
yes, as long as the node is removed from the cluster and the db cleaned up.
h
kubectl does not show that node any more rancher UI does not show that node any more I have run rke2-uninstall make sure these dirs are empty
Copy code
/var/lib/rancher/ 
/var/lib/kubelet/ 
/etc/rancher/
how can I check confirm the db ?
this does not show that node any more
kubectl -n kube-system get pod -l component=etcd --no-headers -o custom-columns=NAME:.metadata.name
actually this doc helped ... https://www.suse.com/support/kb/doc/?id=000021653
Copy code
/var/lib/rancher/rke2/bin/crictl exec $etcdcontainer etcdctl --cert /var/lib/rancher/rke2/server/tls/etcd/server-client.crt --key /var/lib/rancher/rke2/server/tls/etcd/server-client.key --cacert /var/lib/rancher/rke2/server/tls/etcd/server-ca.crt endpoint health --cluster --write-out=table
Copy code
/var/lib/rancher/rke2/bin/crictl exec $etcdcontainer etcdctl --cert /var/lib/rancher/rke2/server/tls/etcd/server-client.crt --key /var/lib/rancher/rke2/server/tls/etcd/server-client.key --cacert /var/lib/rancher/rke2/server/tls/etcd/server-ca.crt endpoint status --cluster --write-out=table
those commands only show the 2 etcd/control plane nodes now
c
should be good then…
h
thank you!