Skip to content

Commit

Permalink
Reduce min instances for post fire season
Browse files Browse the repository at this point in the history
  • Loading branch information
GondekNP committed Nov 1, 2024
1 parent 4dbaa04 commit c80c8f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .deployment/tofu/modules/burn_backend/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ resource "google_cloud_run_v2_service" "tf-rest-burn-severity" {
egress = "ALL_TRAFFIC"
}
scaling {
min_instance_count = 2 # to reduce cold start time
min_instance_count = 0 # 1+ to reduce cold start time, 0 to save cost
max_instance_count = 100
}
}
Expand Down
2 changes: 1 addition & 1 deletion .deployment/tofu/modules/titiler/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ resource "google_cloud_run_v2_service" "tf-titiler" {
egress = "ALL_TRAFFIC"
}
scaling {
min_instance_count = 4 # to reduce cold start time
min_instance_count = 1 # 1+ to reduce cold start time, 0 to save cost
max_instance_count = 100
}
}
Expand Down

0 comments on commit c80c8f5

Please sign in to comment.