Install server without Traefik k3s
Single-node k3s minus bundled Traefik/LB; bring your own ingress + MetalLB instead
curl -sfL https://get.k3s.io | sh -s - --disable traefik --disable servicelb
more k3s
all 4 commands →
Init embedded etcd HA cluster
curl -sfL https://get.k3s.io | sh -s - server --cluster-init --token <id>
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