# Rancher — Complete Container Management Platform > Rancher is an enterprise Kubernetes management platform. It simplifies deploying, managing, and securing multiple Kubernetes clusters across any infrastructure — on-premises, cloud, or edge — with a unified dashboard and centralized access control. ## Install Save in your project root: # Rancher — Complete Container Management Platform ## Quick Use ```bash # Quick install with Docker docker run -d --restart=unless-stopped \ -p 80:80 -p 443:443 \ --privileged \ rancher/rancher:latest # Access at https://localhost # Get bootstrap password: docker logs 2>&1 | grep "Bootstrap Password:" # Or install on Kubernetes via Helm helm repo add rancher-latest https://releases.rancher.com/server-charts/latest helm install rancher rancher-latest/rancher \ --namespace cattle-system --create-namespace \ --set hostname=rancher.example.com ``` ## Introduction Rancher is the leading open-source platform for managing Kubernetes at scale. While kubectl and individual cluster tools work for single clusters, Rancher provides a unified management plane for dozens or hundreds of clusters across different environments. It simplifies cluster provisioning, upgrades, monitoring, and security from a single dashboard. With over 25,000 GitHub stars and backing from SUSE (acquired Rancher Labs), Rancher is used by enterprises worldwide to standardize their Kubernetes operations. It manages clusters running on AWS, Azure, GCP, VMware, bare metal, and edge locations. ## What Rancher Does Rancher centralizes Kubernetes management. From a single UI, you can provision new clusters (RKE, K3s, EKS, AKS, GKE), import existing clusters, manage workloads, configure RBAC, set up monitoring and alerting, handle certificate management, and enforce security policies — all across your entire fleet. ## Architecture Overview ``` [Rancher Server] Management plane Web UI + API | +-------+-------+-------+ | | | | [RKE2 [K3s [Imported Cluster] Cluster] Clusters] On-prem Edge EKS, AKS, VMware IoT GKE, custom | [Per-Cluster Features] +-------+-------+-------+ | | | | [Monitor] [Logging] [Istio] Prom/Graf Fluentd Service stack EFK mesh | [Multi-Tenancy] Projects, namespaces, RBAC, Pod Security ``` ## Self-Hosting & Configuration ```bash # Production HA install on RKE2 # 1. Install RKE2 on management nodes curl -sfL https://get.rke2.io | sh - systemctl enable --now rke2-server # 2. Install cert-manager kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.14.0/cert-manager.yaml # 3. Install Rancher via Helm helm repo add rancher-latest https://releases.rancher.com/server-charts/latest helm install rancher rancher-latest/rancher \ --namespace cattle-system --create-namespace \ --set hostname=rancher.example.com \ --set replicas=3 \ --set ingress.tls.source=letsEncrypt \ --set letsEncrypt.email=admin@example.com ``` ## Key Features - **Multi-Cluster Management** — manage all clusters from one dashboard - **Cluster Provisioning** — create RKE2, K3s, EKS, AKS, GKE clusters - **Centralized RBAC** — unified access control across all clusters - **Monitoring Stack** — built-in Prometheus + Grafana per cluster - **App Catalog** — Helm chart marketplace for easy app deployment - **Fleet** — GitOps-based multi-cluster application management - **CIS Benchmarks** — automated Kubernetes security scanning - **Backup/Restore** — cluster and Rancher server backup and recovery ## Comparison with Similar Tools | Feature | Rancher | OpenShift | Lens | Portainer | KubeSphere | |---|---|---|---|---|---| | Type | Management Platform | K8s Distribution | Desktop IDE | Container Mgmt | Platform | | Multi-Cluster | Yes | Yes (ACM) | Yes (view only) | Limited | Yes | | Cluster Provisioning | Yes | Yes | No | No | Yes | | Open Source | Yes | Partial | Yes | Community | Yes | | Learning Curve | Moderate | High | Low | Low | Moderate | | Enterprise | SUSE | Red Hat | Mirantis | Portainer | KubeSphere | ## FAQ **Q: Rancher vs OpenShift — which should I choose?** A: Rancher is more flexible — it manages any Kubernetes distribution. OpenShift is an opinionated platform with its own distribution. Rancher for multi-vendor flexibility; OpenShift for a fully integrated Red Hat stack. **Q: Can Rancher manage existing clusters?** A: Yes. Import any Kubernetes cluster (EKS, AKS, GKE, kubeadm, K3s, or any conformant cluster) into Rancher for unified management without reinstalling. **Q: What is Fleet?** A: Fleet is a GitOps tool built into Rancher for managing applications across multiple clusters. Define your apps in Git, and Fleet ensures they are deployed consistently everywhere. **Q: Is Rancher free?** A: Yes, Rancher is open source under Apache-2.0. SUSE offers commercial support subscriptions for enterprise customers. ## Sources - GitHub: https://github.com/rancher/rancher - Documentation: https://ranchermanager.docs.rancher.com - Created by Rancher Labs (acquired by SUSE) - License: Apache-2.0 --- Source: https://tokrepo.com/en/workflows/69737105-3702-11f1-9bc6-00163e2b0d79 Author: AI Open Source