Skip to content

Instantly share code, notes, and snippets.

@polleyg
Created December 13, 2021 01:17
Show Gist options
  • Save polleyg/009bd3f4b79ee7397d1facaf0b75ad1c to your computer and use it in GitHub Desktop.
Save polleyg/009bd3f4b79ee7397d1facaf0b75ad1c to your computer and use it in GitHub Desktop.
List all Cloud Run instances and how many max instances they are set to
gcloud run services list --project="<here>" --format=json | jq -r '.[] | [.metadata.name,.spec.template.metadata.annotations."autoscali
ng.knative.dev/maxScale"] | @tsv'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment