Skip to main content

Installation Overview

Rancher can be installed in multiple ways depending on your requirements. This guide covers production-ready installation methods with proper SSL/TLS configuration and high availability.
For a quick development setup, see the Quick Start Guide.

Installation Methods

Single-Node Docker

Quick setup for development, testing, or small deployments on a single Linux host.

Helm on Kubernetes

Production-grade installation on existing Kubernetes clusters with high availability.

RKE2/K3s Cluster

Deploy Rancher on Rancher’s own Kubernetes distributions for optimal integration.

Hosted Kubernetes

Install on managed Kubernetes services like AKS, EKS, or GKE.

System Requirements

Operating Systems

Refer to the Support Matrix for specific OS versions supported by each Rancher version.
Supported operating systems include:
  • Ubuntu 20.04+ (64-bit)
  • RHEL/CentOS 7.9+ (64-bit)
  • SLES 15+ (64-bit)
  • Oracle Linux 7.9+ (64-bit)

Hardware Requirements

For Development/Testing (Single-Node)

For Production (High Availability)

Networking Requirements

Required Ports

Ensure your firewall rules allow traffic on these ports. Additional ports may be required for node-to-node communication in Kubernetes clusters.

Software Prerequisites

  • Docker 20.10+ (Docker CE recommended)
  • Docker Compose (optional)

Method 1: Single-Node Docker Installation

Best for development, testing, or small production workloads.

Basic Installation

With Persistent Data

To persist Rancher data across container restarts:

Using a Specific Version

The stable tag always points to the latest stable release. For production, it’s recommended to pin to a specific version.

Method 2: Helm Installation on Kubernetes

Recommended for production environments requiring high availability.
1

Add the Helm Chart Repository

Add the Rancher Helm repository:
For stable releases, use:
Update the repository:
2

Create a Namespace

Create the cattle-system namespace where Rancher will be installed:
The namespace must be named cattle-system as this is where Rancher expects to run.
3

Choose SSL/TLS Configuration

Rancher requires SSL/TLS configuration. Choose one of three options:
Rancher will generate and manage its own self-signed certificates.Requires: cert-manager installed
4

Install cert-manager (if required)

If using Rancher-generated certificates or Let’s Encrypt:
Verify cert-manager is running:
Wait until all pods show Running status.
5

Install Rancher with Helm

Replace rancher.my.org with your actual hostname.
6

Verify Installation

Check the rollout status:
Expected output:
Verify the deployment:
Output should show:
The DESIRED and AVAILABLE counts should match. If deployment times out, check pod status with kubectl -n cattle-system get pods.
7

Access Rancher

Navigate to the hostname you configured (e.g., https://rancher.my.org).You’ll be prompted to set the admin password on first login.

Advanced Helm Configuration Options

Common Options

Key Configuration Parameters

For a complete list of options, see the Helm Chart Options documentation.

Proxy Configuration

For environments requiring an HTTP proxy:

Air-Gapped Installation

For air-gapped environments:

High Availability Considerations

For production deployments, always use a high-availability setup with at least 3 nodes.
  1. Kubernetes Cluster: 3+ nodes for control plane
  2. Rancher Replicas: 3+ pods across different nodes
  3. Load Balancer: Layer 4 or 7 load balancer for ingress
  4. Persistent Storage: For etcd and Rancher data
  5. Backup Strategy: Regular etcd and cluster backups

Supported Kubernetes Distributions

For production deployments, Rancher supports:

RKE2

Rancher’s security-focused Kubernetes distribution

K3s

Lightweight Kubernetes for edge and IoT

RKE1

Rancher Kubernetes Engine (legacy)

Hosted Kubernetes

AKS, EKS, GKE with specific version requirements

Post-Installation Steps

1

Save Your Configuration

Save the Helm values you used for installation:
You’ll need these values for future upgrades.
2

Configure Authentication

Set up external authentication providers:
  • Active Directory / LDAP
  • Azure AD
  • GitHub
  • Google OAuth
  • Okta
  • Keycloak
See Authentication for details.
3

Set Up Backup

Configure regular backups of:
  • Rancher data (etcd)
  • Kubernetes cluster state
  • Application data
See Backup & Restore for procedures.
4

Configure Monitoring

Enable monitoring and alerting:
  • Install Prometheus and Grafana
  • Configure alerts
  • Set up log aggregation
See Monitoring for setup.

Upgrading Rancher

To upgrade Rancher to a new version:
Always review the release notes before upgrading and test upgrades in a non-production environment first.

Troubleshooting

Check pod status:
Common causes:
  • Insufficient resources
  • Image pull failures
  • Network connectivity issues
Verify cert-manager is running:
Check certificate status:
Verify ingress controller is installed:
Check if hostname resolves correctly:
Check all pods are running:
View Rancher logs:
For more troubleshooting help, see the Rancher Troubleshooting Guide.

Next Steps

Provision Clusters

Create and manage Kubernetes clusters

Configure Authentication

Set up user authentication and authorization

High Availability Setup

Configure HA for production deployments

Backup & Restore

Set up backup procedures

Additional Resources