How to create seperate ETCD and Controlplane nodes in RKE2
This document (000020771) is provided subject to the disclaimer at the end of this document.
Environment
Situation
Resolution
disable-apiserver: true disable-controller-manager: true disable-kube-proxy: false disable-scheduler: true
2. On the etcd node, install RKE2 using: `curl -sfL https://get.rke2.io | INSTALL_RKE2_VERSION="<required version of RKE2>" INSTALL_RKE2_TYPE="server" sh -` and start it `systemctl start rke2-server`
3. On the controlplane node, create `/etc/rancher/rke2/config.yaml` with the following contents:
server: https://<ip of the etcd node>:9345 token: <token string from /var/lib/rancher/rke2/server/node-token on the etcd node> disable-etcd: true disable-kube-proxy: false etcd-expose-metrics: false
4. On the controlplane node, install RKE2 `curl -sfL https://get.rke2.io | INSTALL_RKE2_VERSION="<required version of RKE2>" INSTALL_RKE2_TYPE="server" sh -` and start it `systemctl start rke2-server`
5. Add agent nodes (https://docs.rke2.io/install/ha/#5-optional-join-agent-nodes).
Additional Information
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:000020771
- Creation Date: 02-Apr-2024
- Modified Date:02-Apr-2024
-
- SUSE Rancher
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com