Go to file
Brad Davidson dea9b50d49 Bump helm-controller/klipper-helm
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-10-22 18:54:08 -07:00
.github Bump rancher/ecm-distro-tools from 0.58.1 to 0.58.4 (#9005) 2025-10-09 09:11:41 -07:00
bundle quotes around normal find 2025-10-20 18:34:00 -07:00
charts Bump traefik and ingress-nginx (#9113) 2025-10-21 11:26:47 -07:00
contrib
developer-docs Update Kubernetes to v1.31.0 (#6625) 2024-08-29 12:58:38 -07:00
docs/adrs Add ADR for multus thick support (#8439) 2025-07-15 10:31:03 +02:00
pkg Add new kubeapiserver argument for cis-1.11 benchmark (#9011) 2025-10-08 14:23:43 -07:00
scripts Bump helm-controller/klipper-helm 2025-10-22 18:54:08 -07:00
tests Add new kubeapiserver argument for cis-1.11 benchmark (#9011) 2025-10-08 14:23:43 -07:00
updatecli Fix the vSphere chart version check to use version sort for the retrieved versions (#8130) 2025-05-02 11:05:08 -07:00
windows Add support for commit installation in windows quickstart file 2023-08-11 10:31:45 -05:00
.codespellignore Docker Test Overhaul (#7762) 2025-02-28 08:53:32 -08:00
.dockerignore GHA Migration (#6062) 2024-07-05 23:14:25 +03:00
.gitignore
.golangci.json
BUILDING.md
CODEOWNERS
Dockerfile Bump images for go1.24.9 rebuild 2025-10-20 14:09:42 -07:00
Dockerfile.docs
Dockerfile.windows Bump images for go1.24.9 rebuild 2025-10-20 14:09:42 -07:00
LICENSE
MAINTAINERS Sync maintainers and PR template from K3s 2023-07-31 13:02:11 -07:00
Makefile Add Release downstream components in release workflow (#7596) 2025-01-15 14:05:32 -03:00
README.md
Vagrantfile mirrored pause update (#4829) 2023-10-03 11:03:10 -07:00
channels.yaml Update stable channel to v1.33.5+rke2r1 (#8961) 2025-09-19 22:30:17 -03:00
go.mod Bump helm-controller/klipper-helm 2025-10-22 18:54:08 -07:00
go.sum Bump helm-controller/klipper-helm 2025-10-22 18:54:08 -07:00
install.ps1 Make artifact URL prefix configurable 2025-03-20 16:25:08 -07:00
install.sh Update STORAGE_URL to dualstack endpoint. (#8350) 2025-07-29 12:22:27 -07:00
main.go Sync executor implimentations with k3s 2025-09-22 11:33:28 -07:00
mkdocs.yml

README.md

RKE2

RKE2

RKE2, also known as RKE Government, is Rancher's next-generation Kubernetes distribution.

It is a fully conformant Kubernetes distribution that focuses on security and compliance within the U.S. Federal Government sector.

To meet these goals, RKE2 does the following:

For more information and detailed installation and operation instructions, please visit our docs.

Quick Start

Here's the extremely quick start:

curl -sfL https://get.rke2.io | sh -
systemctl enable rke2-server.service
systemctl start rke2-server.service
# Wait a bit
export KUBECONFIG=/etc/rancher/rke2/rke2.yaml PATH=$PATH:/var/lib/rancher/rke2/bin
kubectl get nodes

For a bit more, check out our full quick start guide.

Installation

A full breakdown of installation methods and information can be found here.

Configuration File

The primary way to configure RKE2 is through its config file. Command line arguments and environment variables are also available, but RKE2 is installed as a systemd service and thus these are not as easy to leverage.

By default, RKE2 will launch with the values present in the YAML file located at /etc/rancher/rke2/config.yaml.

An example of a basic server config file is below:

# /etc/rancher/rke2/config.yaml
write-kubeconfig-mode: "0644"
tls-san:
  - "foo.local"
node-label:
  - "foo=bar"
  - "something=amazing"

In general, cli arguments map to their respective yaml key, with repeatable cli args being represented as yaml lists. So, an identical configuration using solely cli arguments is shown below to demonstrate this:

rke2 server \
  --write-kubeconfig-mode "0644"    \
  --tls-san "foo.local"             \
  --node-label "foo=bar"            \
  --node-label "something=amazing"

It is also possible to use both a configuration file and cli arguments. In these situations, values will be loaded from both sources, but cli arguments will take precedence. For repeatable arguments such as --node-label, the cli arguments will overwrite all values in the list.

Finally, the location of the config file can be changed either through the cli argument --config FILE, -c FILE, or the environment variable $RKE2_CONFIG_FILE.

FAQ

Security

Security issues in RKE2 can be reported by sending an email to security@rancher.com. Please do not open security issues here.