mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-05-12 22:39:26 +00:00
Keep 1 node alive so autoscaler doesn't scale to 0
Should help speed up startup, avoiding errors like "pod couldn't be scheduled"
This commit is contained in:
parent
358c03c05e
commit
a9cb218d59
4
.github/release/clusters/modules/gke/main.tf
vendored
4
.github/release/clusters/modules/gke/main.tf
vendored
@ -38,11 +38,11 @@ resource "google_container_cluster" "this" {
|
||||
|
||||
node_pool {
|
||||
name = var.tests_pool_name
|
||||
initial_node_count = 0
|
||||
initial_node_count = 1
|
||||
node_locations = length(var.tests_pool_zones) > 0 ? var.tests_pool_zones : null
|
||||
|
||||
autoscaling {
|
||||
min_node_count = 0
|
||||
min_node_count = 1
|
||||
max_node_count = var.tests_pool_max
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user