1
0
mirror of https://github.com/poseidon/typhoon synced 2025-01-05 07:24:11 +01:00
typhoon/addons/flannel/variables.tf
Dalton Hubble 44fc53e8db Change the default Pod CIDR to 10.20.0.0/14
* Change the default Pod CIDR from 10.2.0.0/16 to 10.20.0.0/14
(10.20.0.0 - 10.23.255.255) to support 1024 nodes by default
* Most CNI providers divide the Pod CIDR so that each node has
a /24 to allocate to local pods (256). The previous `10.2.0.0/16`
default only fits 256 /24's so 256 nodes were supported without
customizing the pod_cidr
2024-12-27 19:51:56 -08:00

12 lines
344 B
HCL

variable "pod_cidr" {
type = string
description = "CIDR IP range to assign Kubernetes pods"
default = "10.20.0.0/14"
}
variable "daemonset_tolerations" {
type = list(string)
description = "List of additional taint keys kube-system DaemonSets should tolerate (e.g. ['custom-role', 'gpu-role'])"
default = []
}