# ─── Cluster ───────────────────────────────────────────────────────── variable "prefix" { description = "Prefix for resource names" type = string } variable "cluster_name" { description = "Name of the Kubernetes cluster" type = string default = "main" } variable "zone" { description = "UpCloud zone" type = string } variable "node_plan" { description = "UpCloud server plan for worker nodes" type = string } variable "node_count" { description = "Number of worker nodes" type = number } variable "network_cidr" { description = "CIDR block for the private network" type = string default = "10.100.0.0/24" } variable "control_plane_ip_filter" { description = "CIDRs allowed to access the K8s API" type = list(string) default = ["0.0.0.0/0"] } variable "storage_size" { description = "Storage size in GB for worker nodes (overrides plan default via cloud_native_plan block)" type = number default = null } variable "tags" { description = "Labels to apply to resources" type = map(string) }