mirror of
https://github.com/poseidon/typhoon
synced 2026-09-07 20:24:07 +02:00
* Add the cloud_provider variable so it can optionally be set to "external" to use external cloud controller managers to initialize nodes. Note that nodes will be tainted until they are initialized by a cloud-specific controller manager (various implementations) * By default the flag is unset so there are no changes
24 lines
716 B
Terraform
24 lines
716 B
Terraform
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
|
|
cloud_provider = var.cloud_provider
|
|
}
|