mirror of
https://github.com/jpetazzo/container.training.git
synced 2026-05-23 09:12:50 +00:00
This is a new provisioning mechanism. Right now, it can provision clusters on: - Digital Ocean - Linode - Oracle Cloud - Scaleway Others should be relatively straightforward to add. Check the README in the prepare-tf subdirectory for details.
29 lines
400 B
HCL
29 lines
400 B
HCL
variable "how_many_clusters" {
|
|
type = number
|
|
default = 2
|
|
}
|
|
|
|
variable "node_size" {
|
|
type = string
|
|
default = "M"
|
|
# Can be S, M, L.
|
|
# 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 = true
|
|
}
|