K3s: Kubernetes leggero per edge, IoT e dev

K3s (febbraio 2019) di Rancher Labs (Darren Shepherd): distribuzione Kubernetes certificata, single binary <100MB, memory footprint ridotto. Ottimizzata per edge, IoT, ARM, CI/CD, homelab. Donata CNCF sandbox agosto 2020.

Open Source K3sRancher LabsKubernetesEdgeIoTCNCFOpen Source

Kubernetes troppo pesante per l’edge

Kubernetes upstream richiede etcd, kube-apiserver, kube-controller-manager, kube-scheduler, kubelet, kube-proxy, CNI, CSI: GB di RAM, decine di processi. Per edge (gateway IoT, Raspberry Pi, retail branch), dev environment o CI/CD, è esagerato.

Il rilascio

K3s è pubblicato nel febbraio 2019 da Rancher Labs. Lead: Darren Shepherd (cofounder Rancher). Obiettivo: Kubernetes single binary < 100 MB, < 512 MB RAM per installazione base, supporto ARM nativo.

Il nome è un gioco su “K8s / 2 = K3s” (metà dei componenti). Licenza Apache 2.0. Donato alla CNCF come sandbox project il 19 agosto 2020 — è l’unica distribuzione Kubernetes ospitata direttamente dalla fondazione.

Cosa cambia vs upstream

  • Single binary — tutti i componenti in un exe k3s
  • SQLite di default invece di etcd (supporta anche MySQL, PostgreSQL, etcd)
  • Containerd direct invece di Docker
  • Flannel CNI di default (sostituibile)
  • Traefik Ingress di default
  • ServiceLB (Klipper-lb) bare-metal LoadBalancer
  • local-path-provisioner CSI per volumi locali
  • CoreDNS incluso

curl -sfL https://get.k3s.io | sh - → cluster K8s funzionante.

Casi d’uso

  • Edge computing — retail, fabbrica, trasporti, telemedicina
  • IoT gateway — Raspberry Pi, industrial ARM
  • CI/CD — cluster ephemeral per integration tests
  • Homelab — sviluppatori self-hosting
  • Dev environment locale (alternativa a KinD/Minikube)
  • Small production — PMI con requisiti K8s leggeri

Ecosistema Rancher

  • Rancher — multi-cluster management UI (include K3s)
  • RKE2 — K8s hardened per governi/enterprise (simile K3s ma FedRAMP compliant)
  • K3d — K3s dentro Docker per dev
  • K3sup — installer
  • Longhorn — storage distribuito per K8s (Rancher)

Concorrenti

  • MicroK8s (Canonical, Ubuntu) — snap-based
  • KinD (Kubernetes in Docker) — CI/dev
  • Minikube — single-node dev
  • K0s (Mirantis) — simile filosofia a K3s

Nel contesto italiano

K3s è usato in:

  • Industrial IoT italiano — fabbriche 4.0 con edge compute
  • Retail — POS e store-level compute
  • Trasporti — infrastruttura su treni/autobus
  • Telemedicina — gateway edge per ospedali territoriali
  • MSP — K8s managed piccoli per PMI
  • Sviluppatori — dev environment locali con Docker/Podman
  • PA — pilot su edge computing regionale

L’acquisizione SUSE → Rancher Labs (luglio 2020) rafforza la strategia enterprise di K3s in Europa.


Riferimenti: K3s (febbraio 2019). Rancher Labs (SUSE dal 2020). Darren Shepherd. Licenza Apache 2.0. Single binary < 100 MB. CNCF sandbox (19 agosto 2020). SQLite default backend. Supporto ARM nativo.

Vuoi supporto? Sei sotto attacco? Stato dei servizi
Vuoi supporto? Sei sotto attacco? Stato dei servizi