Install Rancher with Let's Encrypt on Kubernetes
Deploy SUSE Rancher on a Kubernetes cluster with NGINX Ingress Controller, cert-manager, and automated Let's Encrypt TLS certificate management.
Mohan Kumar BN
Senior Platform Engineer & CNCF Certified Kubestronaut
Centralized Multi-Cluster Kubernetes Management
SUSE Rancher provides a unified control plane for importing, provisioning, and governing multi-cluster Kubernetes fleets across cloud and on-premises environments.
Step-by-Step Deployment
1. Install cert-manager for Automated TLS
helm repo add jetstack https://charts.jetstack.io
helm repo update
helm install cert-manager jetstack/cert-manager \
--namespace cert-manager \
--create-namespace \
--set crds.enabled=true
2. Install Rancher with Let’s Encrypt Ingress TLS
helm repo add rancher-latest https://releases.rancher.com/server-charts/latest
helm repo update
kubectl create namespace cattle-system
helm install rancher rancher-latest/rancher \
--namespace cattle-system \
--set hostname=rancher.mkbn.in \
--set bootstrapPassword=admin \
--set ingress.tls.source=letsEncrypt \
--set letsEncrypt.email=admin@mkbn.in \
--set letsEncrypt.ingress.class=nginx
Monitor the rollout using kubectl -n cattle-system rollout status deploy/rancher until all replicas are healthy and the Let’s Encrypt Certificate resource reaches Ready=True.
Related Engineering Blueprints
Let's Build a High-Availability Kubernetes Cluster on Bare-Metal Servers
Complete step-by-step guide to bootstrapping a 3-master stacked etcd High-Availability Kubernetes cluster on Ubuntu 24.04 bare-metal servers with containerd and Calico.
RKE2 High-Availability Cluster Installation With Ansible
Automate the provisioning of a security-hardened, CIS-compliant Rancher RKE2 High-Availability Kubernetes cluster on Ubuntu nodes using idempotent Ansible playbooks.
Install an External Ceph Distributed Storage Cluster Using Ansible
Provision a self-healing, multi-node Ceph distributed storage cluster with Ansible to deliver replicated block (RBD), shared file (CephFS), and object storage for Kubernetes.