Renaming default pool var
Some checks failed
Ansible Linting / ansible-lint (push) Failing after 4s
Secops Linting and Safety Checks / checkov-scan-s3 (push) Failing after 13s

This commit is contained in:
shockrah 2024-12-16 00:05:08 -08:00
parent 7a41d033b5
commit 6d642a7359
3 changed files with 14 additions and 14 deletions

View File

@ -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
}
}

View File

@ -25,7 +25,7 @@ variable cluster {
region = string
label = string
version = string
pool = object({
metapool = object({
plan = string
autoscale = bool
min = number

View File

@ -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
# }
# }
}
}