# MASTER ## Installation apt install sudo curl curl -sfL https://get.k3s.io | sh - sudo cat /var/lib/rander/k3s/server/node-token ## Setup GITHUB_URL=https://github.com/kubernetes/dashboard/releases VERSION_KUBE_DASHBOARD=$(curl -w '%{url_effective}' -I -L -s -S ${GITHUB_URL}/latest -o /dev/null | sed -e 's|.*/||') sudo k3s kubectl create -f https://raw.githubusercontent.com/kubernetes/dashboard/${VERSION_KUBE_DASHBOARD}/aio/deploy/recommended.yaml sudo k3s kubectl create -f dashboard.admin-user.yml -f dashboard.admin-user-role.yml sudo k3s kubectl -n kubernetes-dashboard secret admin-user-token| grep '^token' sudo k3s kubectl proxy # WORKER ## Installation curl -sfL https://get.k3s.io | K3S_URL=https://:6443 K3S_TOKEN= sh -