-
Notifications
You must be signed in to change notification settings - Fork 1
How to setup a new node
Émilien Devos edited this page Oct 12, 2020
·
2 revisions
- Install the packages:
apt install wireguard-tools wireguard-dkms nfs-common
curl -sfL https://get.k3s.io | K3S_URL=https://ip:6443 K3S_TOKEN=TOKEN sh -
- add
--node-external-ip
to k3s systemd config - add node to a location:
kubectl annotate node $node kilo.squat.ai/location="gcp"
- copy k3s config to /etc/rancher/k3s/k3s.yaml
- check if wireguard working, if not: https://github.com/squat/kilo/blob/master/docs/annotations.md