32 lines
624 B
HCL
32 lines
624 B
HCL
module "kubernetes" {
|
|
source = "hcloud-k8s/kubernetes/hcloud"
|
|
version = "3.27.2"
|
|
|
|
cluster_name = var.cluster_name
|
|
hcloud_token = var.hcloud_token
|
|
|
|
cluster_kubeconfig_path = "kubeconfig"
|
|
cluster_talosconfig_path = "talosconfig"
|
|
|
|
firewall_use_current_ipv4 = true
|
|
|
|
cert_manager_enabled = true
|
|
|
|
control_plane_nodepools = [
|
|
{
|
|
name = "control"
|
|
type = "cx23" # 2 vCPU, 4 GB RAM
|
|
location = "hel1"
|
|
count = 1
|
|
}
|
|
]
|
|
|
|
worker_nodepools = [
|
|
{
|
|
name = "worker"
|
|
type = "cx23" # 2 vCPU, 4 GB RAM
|
|
location = "hel1"
|
|
count = 2
|
|
}
|
|
]
|
|
}
|