mirror of
https://github.com/jpetazzo/container.training.git
synced 2026-07-25 15:56:29 +00:00
- fix tags so that they don't contain '=' - install metrics-server only if necessary - set a maximum size to GKE node pool - change tags to be shorter
31 lines
553 B
HCL
31 lines
553 B
HCL
variable "how_many_clusters" {
|
|
type = number
|
|
default = 1
|
|
}
|
|
|
|
variable "node_size" {
|
|
type = string
|
|
default = "M"
|
|
# Can be S, M, L.
|
|
# We map these values to different specific instance types for each provider,
|
|
# but the idea is that they shoudl correspond to the following sizes:
|
|
# S = 2 GB RAM
|
|
# M = 4 GB RAM
|
|
# L = 8 GB RAM
|
|
}
|
|
|
|
variable "min_nodes_per_pool" {
|
|
type = number
|
|
default = 1
|
|
}
|
|
|
|
variable "max_nodes_per_pool" {
|
|
type = number
|
|
default = 0
|
|
}
|
|
|
|
variable "enable_arm_pool" {
|
|
type = bool
|
|
default = false
|
|
}
|