Skip to content

How to setup a new node

Émilien Devos edited this page Oct 12, 2020 · 2 revisions
  1. Install the packages: apt install wireguard-tools wireguard-dkms nfs-common
  2. curl -sfL https://get.k3s.io | K3S_URL=https://ip:6443 K3S_TOKEN=TOKEN sh -
  3. add --node-external-ip to k3s systemd config
  4. add node to a location: kubectl annotate node $node kilo.squat.ai/location="gcp"
  5. copy k3s config to /etc/rancher/k3s/k3s.yaml
  6. check if wireguard working, if not: https://github.com/squat/kilo/blob/master/docs/annotations.md
Clone this wiki locally