Files
terraform-proxmox-talos/README.md
2025-02-23 14:40:45 +01:00

844 B

Terraform Proxmox Talos

This Terraform module provisions a Talos Linux cluster on a Proxmox Virtual Environment.
It is is based on a greate article by Olav S. Thoresen: Talos cluster on Proxmox with Terraform.
In addition to the configuration provided by the article, this module enables you to provision a HA control plane and any number of worker nodes.

Setup

Configure .env:

export PROXMOX_VE_USERNAME="root@pam"
export PROXMOX_VE_PASSWORD="super-secure-password"
export PROXMOX_VE_ENDPOINT="https://<proxmox-ip>:8006/"

Apply configuration:

terraform apply

Write Kubeconfig (caution, this will override you existing Kubeconfig):

terraform output -raw kubeconfig > ~/.kube/config