Illumina Innovates with Rancher and Kubernetes
This section provides an overview of the architecture options of installing Rancher, describing advantages of each option.
In this section,
The Rancher server manages and provisions Kubernetes clusters. You can interact with downstream Kubernetes clusters through the Rancher server’s user interface.
RKE (Rancher Kubernetes Engine) is a certified Kubernetes distribution and CLI/library which creates and manages a Kubernetes cluster. When you create a cluster in the Rancher UI, it calls RKE as a library to provision Rancher-launched Kubernetes clusters.
If you use Rancher to deploy Kubernetes clusters, it is important to ensure that the Rancher server doesn’t fail, because if it goes down, you could lose access to the Kubernetes clusters that are managed by Rancher. For that reason, we recommend that for a production-grade architecture, you should set up a Kubernetes cluster with RKE, then install Rancher on it. After Rancher is installed, you can use Rancher to deploy and manage Kubernetes clusters.
For testing or demonstration purposes, you can install Rancher in single Docker container. In this installation, you can use Rancher to set up Kubernetes clusters out-of-the-box.
Our instructions for installing Rancher on Kubernetes describe how to first use RKE to create and manage a cluster, then install Rancher onto that cluster. For this type of architecture, you will need to deploy three nodes - typically virtual machines - in the infrastructure provider of your choice. You will also need to configure a load balancer to direct front-end traffic to the three nodes. When the nodes are running and fulfill the node requirements, you can use RKE to deploy Kubernetes onto them, then use Helm to deploy Rancher onto Kubernetes.
For a longer discussion of Rancher architecture, refer to the architecture overview, recommendations for production-grade architecture, or our best practices guide.
Rancher can be installed on these main architectures:
The single-node Kubernetes install is achieved by describing only one node in the cluster.yml when provisioning the Kubernetes cluster with RKE. The single node should have all three roles: etcd, controlplane, and worker. Then Rancher can be installed with Helm on the cluster in the same way that it would be installed on any other cluster.
cluster.yml
etcd
controlplane
worker
There are also separate instructions for installing Rancher in an air gap environment or behind an HTTP proxy:
Before installing Rancher, make sure that your nodes fulfill all of the installation requirements.
For the best performance and greater security, we recommend a separate, dedicated Kubernetes cluster for the Rancher management server. Running user workloads on this cluster is not advised. After deploying Rancher, you can create or import clusters for running your workloads.
For more architecture recommendations, refer to this page.
Refer to the Helm chart options for details on installing Rancher on a Kubernetes cluster with other configurations, including:
In the Rancher installation instructions, we recommend using RKE (Rancher Kubernetes Engine) to set up a Kubernetes cluster before installing Rancher on the cluster. RKE has many configuration options for customizing the Kubernetes cluster to suit your specific environment. Please see the RKE Documentation for the full list of options and capabilities.
Refer to the Docker installation docs for details other configurations including: