Kubernetes
for Proxmox VE

Kubehenge creates Kubernetes clusters on Proxmox VE and keeps them running.

as root, in a Proxmox VE node's shell
# curl -fsSLO https://github.com/kubehenge/kubehenge/releases/latest/download/install.sh && sh install.sh
  • prod

    RKE2 v1.37.1+rke2r1

    Provisioned

  • staging

    k3s v1.37.1+k3s1

    Provisioned

  • ci

    kubeadm v1.36.5

    Provisioned

  • edge

    Talos v1.37.1

    Provisioned

  • next

    room for one more

What it does

  • Creates clusters. kubeadm, RKE2, k3s or Talos, built by Cluster API from VM templates. Create one with Create cluster in the interface or with kubectl apply. kubeadm, RKE2 and k3s nodes run AlmaLinux or Rocky Linux as an image-mode system. It is read-only, runs SELinux enforcing, holds only what a node needs and is built again every week with its updates. Talos nodes run Talos, upgraded in place. Each cluster gets its own Proxmox VE pool, user and API token, and an ingress controller on every node. MetalLB or kube-vip can give its load-balanced Services addresses.
  • Add-ons. Add them when a cluster is created or later. Headlamp is a web interface inside the cluster. Rancher registers every other cluster. Velero backs up to your S3 store, encrypted with the cluster's own keys. Argo CD or Flux sync the cluster from a Git repository. Cilium Cluster Mesh joins clusters into one pod network. Monitoring, pod security and Istio are add-ons too.
  • Signs in with your Proxmox VE users. Any Proxmox VE realm, second factor included. Proxmox VE's own permissions on each cluster's pool decide who may change it.
  • Keeps them running. A node that stays not ready for five minutes is replaced. Kubernetes is upgraded one node at a time, by hand or inside an upgrade window. Kubehenge upgrades itself and installs only signed releases.
https://10.20.0.40/

One line, one container

  • One unprivileged Debian container on a Proxmox VE 9 node. Nothing else changes on the node unless you add the Kubernetes button to Proxmox VE's interface.
  • Every download is checked against the checksums the script carries. The appliance's certificate is signed by the Proxmox VE cluster's own CA.
  • Then, from the interface, an administrator sets up the management cluster: one or three Talos Linux VMs running Cluster API and Kubehenge's controller.

read install.sh before you run it ↗

Kubehenge is alpha. Not everything on this page is built yet. The roadmap says what is. Any release may change it completely, its settings, interface and ClusterClasses included. Do not run production on it yet.