mirror of
https://github.com/poseidon/typhoon
synced 2024-05-06 15:46:12 +02:00
1b3a0f6ebc
* Add experimental `arch` variable to Fedora CoreOS AWS, accepting amd64 (default) or arm64 to support native arm64/aarch64 clusters or mixed/hybrid clusters with a worker pool of arm64 workers * Add `daemonset_tolerations` variable to cluster module (experimental) * Add `node_taints` variable to workers module * Requires flannel CNI and experimental Poseidon-built arm64 Fedora CoreOS AMIs (published to us-east-1, us-east-2, and us-west-1) WARN: * Our AMIs are experimental, may be removed at any time, and will be removed when Fedora CoreOS publishes official arm64 AMIs. Do NOT use in production Related: * https://github.com/poseidon/typhoon/pull/682
26 lines
787 B
HCL
26 lines
787 B
HCL
module "workers" {
|
|
source = "./workers"
|
|
name = var.cluster_name
|
|
|
|
# AWS
|
|
vpc_id = aws_vpc.network.id
|
|
subnet_ids = aws_subnet.public.*.id
|
|
security_groups = [aws_security_group.worker.id]
|
|
worker_count = var.worker_count
|
|
instance_type = var.worker_type
|
|
os_stream = var.os_stream
|
|
arch = var.arch
|
|
disk_size = var.disk_size
|
|
spot_price = var.worker_price
|
|
target_groups = var.worker_target_groups
|
|
|
|
# configuration
|
|
kubeconfig = module.bootstrap.kubeconfig-kubelet
|
|
ssh_authorized_key = var.ssh_authorized_key
|
|
service_cidr = var.service_cidr
|
|
cluster_domain_suffix = var.cluster_domain_suffix
|
|
snippets = var.worker_snippets
|
|
node_labels = var.worker_node_labels
|
|
}
|
|
|