master:
curl -sfL https://get.k3s.io | sh -
cat /var/lib/rancher/k3s/server/node-token
nodes:
k3s_url="https://masterip:6443"
k3s_token="mastertoken from node-token file"
curl -sfL https://get.k3s.io | K3S_URL=${k3s_url} K3S_TOKEN=${k3s_token} sh -
/usr/local/bin/k3s-uninstall.sh