Open axeal opened 2 years ago
We have existing documentation on this for K3s, the process for rke2 is identical: https://rancher.com/docs/k3s/latest/en/installation/disable-flags/
This repository uses an automated workflow to automatically label issues which have not had any activity (commit/comment/label) for 90 days. This helps us manage the community issues better. If the issue is still relevant, please add a comment to the issue so the workflow can remove the label and we know it is still valid. If it is no longer relevant (or possibly fixed in the latest release), the workflow will automatically close the issue in 30 days. Thank you for your contributions.
Summary: With RKE2 cluster provisioning within Rancher v2.6 it is possible to separate the etcd and controlplane roles on different nodes; however, the RKE2 docs do not document how to do this when provisioning an RKE2 cluster oneself. At a basic level, the process looks something like the below, but this was just my testing in a lab to validate it is possible, not a production-ready config:
Details:
curl -sfL https://get.rke2.io/ | INSTALL_RKE2_VERSION="v1.23.8+rke2r1" INSTALL_RKE2_TYPE="server" sh -
and start itsystemctl start rke2-server
curl -sfL https://get.rke2.io/ | INSTALL_RKE2_VERSION="v1.23.8+rke2r1" INSTALL_RKE2_TYPE="server" sh -
and start itsystemctl start rke2-server
Please note this is only an example to show this configuration in a working state. In a real environment, you should configure a fixed registration address per the documentation at https://docs.rke2.io/install/ha/#1-configure-the-fixed-registration-address