K3s without traefik
To install the K3s, on the new VM instance, you can simply run the script in the terminal:
curl -sfL https://get.k3s.io | sh -
To install k3s without traefik:
curl -sfL https://get.k3s.io | INSTALL_K3S_EXEC="--disable=traefik" sh -s -
Removing Traefik service from the already running k3s (sufficient in most situations)
kubectl delete service/traefik -n kube-system
To uninstall K3s from a server node, run:
/usr/local/bin/k3s-uninstall.sh
Uninstalling Agents
To uninstall K3s from an agent node, run:
/usr/local/bin/k3s-agent-uninstall.sh