JG-mirror/Kubernetes/GPU-Passthrough
James Turland 1c69ba67a4 update
2023-12-06 01:02:07 +00:00
..
jellyfin.yaml update 2023-12-06 01:02:07 +00:00
readme.md update 2023-12-06 01:02:07 +00:00

Create directory

mkdir -p /etc/rancher/rke2

Create File for RKE2 - Config

sudo nano /etc/rancher/rke2/config.yaml

Add values

token: <ADD-TOKEN>
server: https://<ADD-VIP>:9345
node-label:
  - worker=true
  - longhorn=true

Install RKE2

sudo su
curl -sfL https://get.rke2.io | INSTALL_RKE2_TYPE="agent" sh -

Enable RKE2

systemctl enable rke2-agent.service
systemctl start rke2-agent.service