48 lines
1.3 KiB
Plaintext
48 lines
1.3 KiB
Plaintext
# Example configuration for Talos cluster on Proxmox
|
|
# Copy this file to terraform.tfvars and customize
|
|
|
|
# Proxmox Connection
|
|
proxmox_endpoint = "https://proxmox.example.com:8006"
|
|
proxmox_username = "root@pam"
|
|
proxmox_password = "your-password-here"
|
|
proxmox_node = "pve"
|
|
|
|
# Proxmox API Tokens for CCM/CSI (required)
|
|
proxmox_ccm_token_secret = "your-ccm-token-secret-here"
|
|
proxmox_csi_token_secret = "your-csi-token-secret-here"
|
|
|
|
# Cluster Configuration
|
|
cluster_name = "talos-cluster"
|
|
cluster_endpoint = "https://10.0.0.100:6443"
|
|
|
|
# Optional: Use a VIP for HA control plane
|
|
# cluster_vip = "10.0.0.100"
|
|
|
|
# VM Resource Configuration
|
|
controlplane_count = 3
|
|
worker_count = 2
|
|
controlplane_cpu = 2
|
|
controlplane_memory = 4096
|
|
worker_cpu = 4
|
|
worker_memory = 8192
|
|
|
|
# Optional: Static IP Configuration
|
|
# Uncomment and configure for static IPs instead of DHCP
|
|
# controlplane_ips = ["10.0.0.101", "10.0.0.102", "10.0.0.103"]
|
|
# worker_ips = ["10.0.0.104", "10.0.0.105"]
|
|
# gateway = "10.0.0.1"
|
|
# netmask = 24
|
|
# nameservers = ["1.1.1.1", "8.8.8.8"]
|
|
|
|
# Optional: Proxmox Configuration
|
|
# proxmox_storage = "local-lvm"
|
|
# proxmox_network_bridge = "vmbr0"
|
|
# vm_id_prefix = 800
|
|
|
|
# Optional: Talos Configuration
|
|
# talos_version = "v1.9.1"
|
|
|
|
# Optional: Proxmox CCM/CSI Configuration
|
|
# proxmox_region = "proxmox"
|
|
|