Skip to content
Snippets Groups Projects
Commit c1b537e0 authored by Lorenzo Ceccon's avatar Lorenzo Ceccon
Browse files

NOISSUE Incremented staging max scale

parent 7a6e64d1
No related branches found
No related tags found
No related merge requests found
......@@ -76,7 +76,7 @@ resource "google_cloud_run_service" "donations_api" {
metadata {
annotations = {
"autoscaling.knative.dev/minScale" = local.environment == "production" ? "1" : "0"
"autoscaling.knative.dev/maxScale" = local.environment == "production" ? "10" : "1"
"autoscaling.knative.dev/maxScale" = local.environment == "production" ? "10" : "3"
# Use the VPC Connector
"run.googleapis.com/vpc-access-connector" = data.terraform_remote_state.holi_infra_state.outputs.vpc_access_connector_name
# possible values: all-traffic/private-ranges-only(default) https://cloud.google.com/sdk/gcloud/reference/run/services/update#--vpc-egress
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment