Rancher
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.
To conserve resources Rancher may be run on a single node cluster, however, there is risk with this approach. Ideally, at least 2 nodes must be used
To deploy Rancher carry out the following steps:
Make sure NFS server is already installed.
Install Kubernetes (K8s) cluster
Install Rancher
Install Keycloak
Integrate Keycloak with Rancher
K8s cluster installation
Follow steps 1-5 in the guide given here.
It is highly recommended to set up a double-node cluster for high availability. However, for the non-production environments, you may create a single node cluster to conserve resources.
Rancher installation
To install Rancher use this (hostname to be edited in the below command):
Configure/Create TLS secret accordingly.
Keycloak installation
From kubernetes/rancher folder, run the following to install Keycloak (hostname to be edited in the below command)
Keycloak-Rancher integration
Integrate Rancher and Keycloak using Rancher Auth - Keycloak (SAML) guide.
Last updated