Rancher's enterprise-ready next-generation Kubernetes distribution, focused on security and compliance
open sourceApache-2.0self-hostablefree
RKE2, also known as RKE Government, is a fully conformant Kubernetes distribution from Rancher (part of SUSE) aimed at security- and compliance-focused sectors such as the U.S. Federal Government. It's built on K3s and installed the same way, as one binary and a get.rke2.io script that sets up a systemd service, but it stays closer to upstream: the control plane and etcd run as static pods under the kubelet, with containerd as the embedded runtime and no dependency on Docker. Its defaults pass the CIS Kubernetes Benchmark with minimal changes, it enables FIPS 140-2 compliance, and its components are scanned for CVEs with Trivy in the build pipeline. It bundles Canal (the default), Cilium, Calico or Flannel networking, CoreDNS, Metrics Server, the Helm controller and an ingress controller (Traefik by default for new clusters from v1.36), and Windows Server machines can join as worker nodes.
Problems it solves
- our government contract requires a FIPS 140-2 compliant Kubernetes cluster
- pass the CIS Kubernetes Benchmark on a new cluster without hand-tuning dozens of flags
- a hardened Kubernetes distribution for regulated, security-sensitive workloads on our own servers
- install a production cluster with one script and a systemd service instead of assembling the control plane myself
- I like how easy the lightweight edge distribution is, but need something closer to upstream for our datacenter
- run the control plane and etcd as static pods without depending on Docker on the nodes
- add Windows Server worker nodes to a Linux-based Kubernetes cluster
- pick Cilium, Calico or Canal networking when the cluster is first created without installing it separately
- set up a Kubernetes cluster in an air-gapped network on premises
- deploy Helm charts automatically from a manifests folder on the control plane nodes
- size control plane servers for clusters with hundreds or over a thousand worker nodes
- a Kubernetes distribution whose components are scanned for CVEs as part of the vendor's build pipeline
Features
- single binary installed on every node; install script at get.rke2.io creates rke2-server or rke2-agent systemd services
- control plane components and etcd run as static pods managed by the kubelet
- embedded containerd runtime with runc; no dependency on Docker
- defaults and options that pass the CIS Kubernetes Benchmark v1.12 or v1.11 with minimal operator intervention
- FIPS 140-2 compliance
- components scanned for CVEs with Trivy in the build pipeline
- CNI choices: Canal (default), Cilium (optionally replacing kube-proxy, with Hubble), Calico (eBPF and nftables dataplanes) or Flannel, plus Multus
- bundled CoreDNS, Metrics Server and Helm controller
- Traefik ingress by default for new clusters from v1.36; Ingress NGINX also packaged
- Windows Server 2022 and 2025 worker (agent) nodes with Calico or Flannel
View 3 more
- x86_64 and arm64; validated on SLES, RHEL and Ubuntu, and works on most systemd Linux distributions
- air-gapped installation, including Windows agent nodes
- ops tools in the runtime image: ctr, crictl, kubectl and socat
Limitations
- Can't switch the cluster's network plugin (CNI) after the first start: the primary CNI is chosen before the cluster first starts1
- Doesn't support Windows nodes with Canal or Cilium networking: Windows worker nodes need Calico or Flannel as the CNI12
Capabilities
| Has an API | plan not known |
|---|---|
| Has a command line tool | plan not known |
Alternatives
The same job
These do what RKE2 does.
- K3s Lightweight Kubernetes. Easy to install, half the memory, all in a binary of less than 100 MB.
- OKD The self-managing, auto-upgrading, Kubernetes distribution for everyone
- MicroK8s Zero-ops, pure-upstream, HA Kubernetes, from developer workstations to production
- kubeadm Best-practice fast paths for creating Kubernetes clusters with kubeadm init and kubeadm join
- k0s The Simple, Solid & Certified Kubernetes Distribution
- Red Hat OpenShift Build, accelerate, and scale with an application platform that's built for today's workloads and tomorrow's innovation.
