Renaming default pool var
This commit is contained in:
parent
7a41d033b5
commit
6d642a7359
@ -8,10 +8,10 @@ resource vultr_kubernetes athens {
|
|||||||
node_pools {
|
node_pools {
|
||||||
# how many nodes do we want in this pool
|
# how many nodes do we want in this pool
|
||||||
node_quantity = 1
|
node_quantity = 1
|
||||||
plan = var.cluster.pool.plan
|
plan = var.cluster.metapool.plan
|
||||||
label = var.cluster.label
|
label = var.cluster.label
|
||||||
min_nodes = var.cluster.pool.min
|
min_nodes = var.cluster.metapool.min
|
||||||
max_nodes = var.cluster.pool.max
|
max_nodes = var.cluster.metapool.max
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@ variable cluster {
|
|||||||
region = string
|
region = string
|
||||||
label = string
|
label = string
|
||||||
version = string
|
version = string
|
||||||
pool = object({
|
metapool = object({
|
||||||
plan = string
|
plan = string
|
||||||
autoscale = bool
|
autoscale = bool
|
||||||
min = number
|
min = number
|
||||||
|
@ -2,7 +2,7 @@ cluster = {
|
|||||||
region = "lax"
|
region = "lax"
|
||||||
label = "athens-cluster"
|
label = "athens-cluster"
|
||||||
version = "v1.31.2+1"
|
version = "v1.31.2+1"
|
||||||
pool = {
|
metapool = {
|
||||||
plan = "vc2-1c-2gb"
|
plan = "vc2-1c-2gb"
|
||||||
autoscale = true
|
autoscale = true
|
||||||
min = 1
|
min = 1
|
||||||
@ -13,14 +13,14 @@ cluster = {
|
|||||||
game_servers = {
|
game_servers = {
|
||||||
namespace = "games"
|
namespace = "games"
|
||||||
configs = {
|
configs = {
|
||||||
minecraft = {
|
# minecraft = {
|
||||||
image = "itzg/minecraft-server"
|
# image = "itzg/minecraft-server"
|
||||||
cpu = "1000m"
|
# cpu = "1000m"
|
||||||
mem = "2048Mi"
|
# mem = "2048Mi"
|
||||||
port = {
|
# port = {
|
||||||
expose = 30808
|
# expose = 30808
|
||||||
internal = 80
|
# internal = 80
|
||||||
}
|
# }
|
||||||
}
|
# }
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user