Rancher Setup
Last updated
Last updated
Rancher is used to manage multiple clusters. Being a critical component of cluster administration it is highly recommended that Rancher itself runs on a Kubernetes cluster with sufficient replication for high availability and avoiding a single point of failure.
One Virtual machine running on the same network as the rest of the nodes, and has access to them. For recommended configuration of the VM refer to
SSH into the node
Create the rke2 config directory:
Create a config.yaml
file in the above directory, using this config file template;
Edit the above config.yaml file with the appropriate names and IPs. IMPORTANT: Remove the section for disabling ingress-nginx in this config file.
Start rke2 using this
Download and install kubectl
and helm
. And execute this:
To install Rancher use this (hostname to be edited in the below command):
Configure/Create TLS secret accordingly.
Install
From folder, run the following to install Keycloak (hostname to be edited in the below command)
Integrate Rancher and Keycloak using guide.
Refer to guide.