{"repo":"varuzhnikov/proxmox-lvm-k8s-cluster-hetzner-terraform-kubespray","free":true,"listed":false,"github":"https://github.com/varuzhnikov/proxmox-lvm-k8s-cluster-hetzner-terraform-kubespray","clone":"git clone https://github.com/varuzhnikov/proxmox-lvm-k8s-cluster-hetzner-terraform-kubespray.git","description":"End-to-end infrastructure-as-code for self-hosted Kubernetes on Hetzner: includes Proxmox VE setup with LVM/NAT, VM templating via cloud-init, Terraform automation, and Kubespray-based cluster bootstrap.","language":"HCL","stars":53,"topics":[],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"Proxmox + LVM + K8s Cluster on Hetzner with Terraform & Kubespray This repo helps you deploy a Kubernetes cluster on top of Proxmox VE , using: - 💽 LVM-backed storage (vg0) - 🌐 NAT-based networking via vmbr0 - 🏗️ Automated setup via Ansible - ☁️ Virtual machine provisioning via Terraform - ⚙️ Cluster bootstrap via Kubespray 🧱 Architecture - Host : Hetzner EX44 (Debian 12, Proxmox VE, RAID-0, LVM) - VMs : Ubuntu cloud-init images - Cluster : Kubernetes 1.x with kube-vip, metrics-server, etc. 📦 Contents - ansible/ — installs Proxmox VE on Debian, configures vmbr0 NAT bridge, connects LVM, builds Ubuntu 22.04 LTS Proxmox VM Template, generates role, user and Proxmox API token for Terraform, installs HAProxy as an entry point to the cluster and deploys rendered by Terraform HAProxy config. - terraform/ — provisions VMs on Proxmox, generates the Kubespray inventory with SSH ProxyJump, and creates an HAProxy configuration to distribute traffic among the Kubernetes control plane and worker nodes - kubespray/ — cluster bootstrap using generated via Terraform Kubespray inventory 🚀 Quickstart 🧰 Prepare Hetzner Server (Rescue Mode + LVM layout) To prepare a Hetzner dedicated server for Proxmox + K8s deployment, start with Rescue Mode and configure software RAID-0 and LVM: 1. Boot into Rescue Mode Go to robot.hetzner.com/server Select your server → Rescue Choose Linux 64-bit Click Activate rescue system Reboot with Execute an automatic hardware reset The temporary root password wi","default_branch":null,"files":null,"tree":[],"storefront":"/r/varuzhnikov","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/varuzhnikov/proxmox-lvm-k8s-cluster-hetzner-terraform-kubespray/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}