https://rancher.com/ logo
Title
l

loud-jackal-15304

01/12/2023, 6:24 PM
hi, mistakes were made and I started rke2-server on a machine that was running rke2-agent. I've tried to revert this but I am not able to stop the etcd, cloud-controller-manager, kube-controller-manager, kube-scheduler and kube-api-server pods from trying to start. Is anyone able to point me to some procedure to revert this mistake?
c

creamy-pencil-82913

01/12/2023, 7:12 PM
delete the control-plane static pods from /var/lib/rancher/rke2/agent/pod-manifests
newer releases of rke2 will do this for you, to handle this sort of accident
l

loud-jackal-15304

01/12/2023, 7:13 PM
thanks so much Brandon, I was just thinking this could be it
I drained and deleted the node without success
and was thinking there couldn't be much more than this
I don't get why deleting the pods through kubectl doesn't work