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