mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
1.4 KiB
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.
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}"