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

437 B

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