Files
2024-04-01 13:14:41 +02:00

1.4 KiB

RKE2

Rancher Kubernetes Engine 2, Rancher's next-generation Kubernetes distribution.

Fully conformant Kubernetes distribution focusing on security and compliance within the U.S. Federal Government sector.

  1. TL;DR
  2. Further readings
    1. Sources

TL;DR

Keeps in close alignment with upstream Kubernetes.

RKE2 launches control plane components as static pods, managed by the kubelet.
It uses containerd as the embedded container runtime.

Installation and configuration
curl -sfL 'https://get.rke2.io' | sudo sh - \
&& sudo systemctl enable --now 'rke2-server.service'
Usage
# Use the provided `kubectl`.
export KUBECONFIG='/etc/rancher/rke2/rke2.yaml' \
/var/lib/rancher/rke2/bin/kubectl get pods

# Restore clusters from snapshots.
rke2 server --cluster-reset \
  --cluster-reset-restore-path="/var/lib/rancher/rke2/server/db/etcd-old-${BACKUP_DATE}"

Further readings

Sources