Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 608 Bytes

README.md

File metadata and controls

31 lines (22 loc) · 608 Bytes

RKE2

Install RKE2

$ 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

Install Rancher

# run rancher
$ docker run --name rancher --privileged -d --restart=unless-stopped -p 8080:80 -p 8443:443 -v rancher:/var/lib/rancher rancher/rancher

Uninstall RKE2

$ sudo rke2-uninstall.sh

Ref