mirror of
https://github.com/poseidon/typhoon
synced 2024-12-18 14:34:14 +01:00
3f844e3c57
* Add controller_disk_type and worker_disk_type variables * Properly pass disk_type to worker nodes
23 lines
674 B
HCL
23 lines
674 B
HCL
module "workers" {
|
|
source = "./workers"
|
|
name = var.cluster_name
|
|
cluster_name = var.cluster_name
|
|
|
|
# GCE
|
|
region = var.region
|
|
network = google_compute_network.network.name
|
|
worker_count = var.worker_count
|
|
machine_type = var.worker_type
|
|
os_image = var.os_image
|
|
disk_size = var.worker_disk_size
|
|
disk_type = var.worker_disk_type
|
|
preemptible = var.worker_preemptible
|
|
|
|
# configuration
|
|
kubeconfig = module.bootstrap.kubeconfig-kubelet
|
|
ssh_authorized_key = var.ssh_authorized_key
|
|
service_cidr = var.service_cidr
|
|
snippets = var.worker_snippets
|
|
node_labels = var.worker_node_labels
|
|
}
|