Skip to content

autoscaling.knative.dev/minScale, autoscaling.knative.dev/maxScale not working in resource google_cloud_run_service #25330

@sonnguyen-devops-davesa

Description

Community Note

I have added template annotation

    "autoscaling.knative.dev/maxScale" = 5
    "autoscaling.knative.dev/minScale" = 1

but the scale not working on gcp .
Image
Please help me check


Community Note
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request.

Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request.

If you are interested in working on this issue or have submitted a pull request, please leave a comment.

Terraform Version & Provider Version(s)

Terraform v1.12.2
on darwin_arm64

  • provider registry.terraform.io/hashicorp/google v7.12.0
  • provider registry.terraform.io/hashicorp/google-beta v7.12.0

Affected Resource(s)

google_cloud_run_service

Terraform Configuration

terraform {
  required_version = ">= 1.3"

  required_providers {
    google = {
      source  = "hashicorp/google"
      version = ">= 7.0.0"
    }
    google-beta = {
      source  = "hashicorp/google-beta"
      version = ">= 7.0.0"
    }
  }

  provider_meta "google" {
    module_name = "blueprints/terraform/terraform-google-cloud-run/v0.10.0"
  }

  provider_meta "google-beta" {
    module_name = "blueprints/terraform/terraform-google-cloud-run/v0.10.0"
  }
}

Debug Output

No response

Expected Behavior

It should change my scaling cloudrun in GCP like in annotation.

Actual Behavior

No response

Steps to reproduce

  1. terraform apply

Important Factoids

No response

References

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions