hey guys, does anyone know how to stop the static pod file for etcd from being controlled when doing systemctl start rke2-server? I am doing a continuity exercise with lost etcd quorum, with no recovery option and wanting to add the following argument.
spec:
containers:
- args:
- --config-file=/var/lib/rancher/rke2/server/db/etcd/config
- --force-new-cluster=true
The intent is to force the dead nodes out of the cluster and bring quorum back, as per
this.
However when I do this and then start rke2-server, even with chmod set to not allow write, the file is refreshed/defaulted by the service and I'm left with an out of quorum etcd database.
* Update *
never mind found this instead which does the job the rke2 way..
https://docs.rke2.io/datastore/backup_restore
rke2 server --cluster-reset