k3s adalah Kubernetes distribution ringan dari Rancher Labs. Hanya ~50MB binary, cocok untuk VPS, Raspberry Pi, dan edge computing.
curl -sfL https://get.k3s.io | sh -\nkubectl get nodes# Di master, dapatkan token\ncat /var/lib/rancher/k3s/server/node-token\n\n# Di worker\ncurl -sfL https://get.k3s.io | K3S_URL=https://MASTER_IP:6443 K3S_TOKEN=TOKEN sh -kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/main/deploy/static/provider/baremetal/deploy.yamlkubectl create deployment nginx --image=nginx\nkubectl expose deployment nginx --port=80 --type=NodePortSetup Longhorn atau local-path-provisioner untuk persistent volumes.
Kubernetes tidak harus rumit. k3s membuatnya accessible untuk pemula sekalipun.