hi i created rke2 cluster. But someone took my fil...
# rke2
b
hi i created rke2 cluster. But someone took my file rke2.yaml. So they can control my cluster. How to rotate the rke2.yaml file. Thanks
c
Delete your cluster and build a new one
You can rotate all the cluster CA certs, but at this point you have no way of knowing what someone might have deployed to your cluster or nodes that they could use for persistent access.
b
I don t want to delete my cluster. Can i rotate CA cert in my cluster
c
Yes. It is covered in the rke2 docs. But you cannot trust the cluster any longer... consider it compromised.
b
i think create new kubeconfig is oke. And change CA cert