Skip to content

This Terraform module automates the setup of a Proxmox lab environment, including the deployment of a Kubernetes cluster and HAProxy for load balancing. It provides a repeatable, version-controlled method for managing your Proxmox lab, simplifying the exploration and testing of cloud-native technologies.

Notifications You must be signed in to change notification settings

MarcHenriot/terraform-proxmox-lab

Repository files navigation

Proxmox Lab

Welcome to the Proxmox Lab repository! This module is designed to help you set up your lab environment on a Proxmox server with ease.

Disclaimer

Important Note: This project is currently under active development and is subject to significant changes. It is not suitable for use with critical or important data. Use it at your own risk.

What You Should Know

  • The codebase may undergo frequent updates, bug fixes, and enhancements.
  • Features, APIs, and behavior may change without prior notice.
  • I recommend using this project for experimentation, learning, or non-critical purp

Sub-Modules

The Kubernetes sub-module enables you to create a highly available Kubernetes cluster complete with an HAProxy load balancer.

The Cloud Images sub-module simplifies the process of downloading and storing cloud images directly to your Proxmox server.

Requirements

Name Version
terraform >= 1.7.0
proxmox 0.51.1

Providers

Name Version
proxmox 0.51.1

Modules

Name Source Version
kubernetes ./modules/proxmox-kubernetes n/a

Resources

Name Type
proxmox_virtual_environment_cluster_options.options resource
proxmox_virtual_environment_time.node_time resource
proxmox_virtual_environment_nodes.nodes data source

Inputs

Name Description Type Default Required
console Console viewer string "xtermjs" no
keyboard Keyboard layout string "fr" no
kubernetes Kubernetes configuration
object({
enabled = bool
vm_name_prefix = string
vm_start_id = number
control_plane = object({
count = number
cpu = number
memory = number
})
worker = object({
count = number
cpu = number
memory = number
})
})
n/a yes
language GUI language string "en" no
time_zone Time zone string "America/Montreal" no

Outputs

No outputs.

About

This Terraform module automates the setup of a Proxmox lab environment, including the deployment of a Kubernetes cluster and HAProxy for load balancing. It provides a repeatable, version-controlled method for managing your Proxmox lab, simplifying the exploration and testing of cloud-native technologies.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published