Init embedded etcd HA cluster k3s
First server with embedded etcd HA; join more with --server https://<ip>:6443 same token
curl -sfL https://get.k3s.io | sh -s - server --cluster-init --token <id>
more k3s
all 4 commands →
Join agent with URL and token
curl -sfL https://get.k3s.io | K3S_URL=https://<ip>:6443 K3S_TOKEN=$(cat /var/lib/rancher/k3s/server/node-token) sh -
Inspect containers via crictl
k3s crictl ps -a && k3s ctr images ls -q
Install server without Traefik
curl -sfL https://get.k3s.io | sh -s - --disable traefik --disable servicelb