How leandrosalvas/deploy-k8s-terraform-proxmox works
This repository automates deployment of a highly available Kubernetes cluster on Proxmox. The documented workflow is Terraform provisioning of VMs, cluster initialization and node joining, automatic installation of networking and cluster add-ons, then retrieval of kubeconfig and access tokens. The README documents these capabilities, but no source excerpts were provided, so implementation-level calls and ownership cannot be verified; paths below identify the corresponding Terraform or provisioning areas in the tree.
Main entry points: master-init.sh Control plane · terraform-k8s-proxmox/main.tf Terraform deployment · k8s-cluster/main.tf VM provisioning · configure-cloudinit.sh Cloud-init setup
Components 16
Infrastructure provisioning
- Terraform deployment
terraform-k8s-proxmox/main.tf - Proxmox VE
- VM provisioning
terraform-k8s-proxmox/modules/k8s-cluster/main.tf - Cloud-init setup
terraform-k8s-proxmox/scripts/configure-cloudinit.sh
Cluster bootstrap
- Control plane
terraform-k8s-proxmox/templates/scripts/master-init.sh - HA master join
terraform-k8s-proxmox/templates/scripts/master-join.sh - Worker join
terraform-k8s-proxmox/templates/scripts/worker-join.sh - CRI-O runtime
terraform-k8s-proxmox/templates/scripts/common.sh - kube-vip
terraform-k8s-proxmox/templates/scripts/master-init.sh
Cluster add-ons
- Calico CNI
terraform-k8s-proxmox/templates/scripts/master-init.sh - MetalLB
terraform-k8s-proxmox/manifests/metallb-config.yaml - Metrics Server
terraform-k8s-proxmox/templates/scripts/master-init.sh - Kubernetes Dashboard
terraform-k8s-proxmox/templates/scripts/master-init.sh
Cluster access
- HTTPS file server
terraform-k8s-proxmox/templates/scripts/master-init.sh - Kubeconfig and tokens
terraform-k8s-proxmox/templates/scripts/master-init.sh
Other components
- Operator
Connections 15
- Operator → Terraform deployment: runs apply
README.md - Terraform deployment → Proxmox VE: provisions on
README.md - Terraform deployment → VM provisioning: provisions VMs
- VM provisioning → Cloud-init setup: configures nodes
- Operator → Control plane: triggers deployment
- Control plane → HA master join: supports HA peers
README.md - Control plane → Worker join: joins workers
README.md - Control plane → CRI-O runtime: uses runtime
README.md - Control plane → kube-vip: installs
README.md - Control plane → Calico CNI: installs
README.md - Control plane → MetalLB: installs
README.md - Control plane → Metrics Server: installs
README.md - Control plane → Kubernetes Dashboard: installs
README.md - Operator → HTTPS file server: downloads from
README.md - HTTPS file server → Kubeconfig and tokens: serves
README.md