01 Run projects list command (Windows/macOS/Linux) with custom query filters to list the ID of each Google Cloud Platform (GCP) project available in your cloud account:
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
gcloud projects list
--format="table(projectId)"
02 The command output should return the requested GCP project IDs:
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
PROJECT_ID
cc-web-stack-project-123123
cc-app-stack-project-112233
03 Run services list command (Windows/macOS/Linux) using the ID of the GCP project that you want to examine as the identifier parameter and custom query filters to describe the name and region of each Cloud Run managed service created for the selected project:
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
gcloud run services list
--project cc-web-stack-project-123123
--platform=managed
--format="table(name,region)"
04 The command output should return the requested resource identification information:
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
NAME REGION
cc-project5-web-service us-central1
cc-analytics-app-service us-central1
05 Run services describe command (Windows/macOS/Linux) using the name and the region of the Cloud Run service that you want to examine as identifier parameters, to describe the latest (current) revision of the selected service. An immutable revision is created when you deploy to a Cloud Run service or change the configuration of a service:
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
gcloud run services describe cc-project5-web-service
--platform=managed
--region us-central1
06 The command output should return the details of the latest Cloud Run service revision:
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
Service cc-project5-web-service in region us-central1
URL: https://cc-project5-web-service-abcd1234abcd-uc.a.run.app
Ingress: all
Traffic:
100% LATEST (currently cc-project5-web-service-00001-mml)
Revision cc-project5-web-service-00001-mml
Container None
Image: us-docker.pkg.dev/cloudrun/container/project5
Port: 8080
Memory: 256Mi
CPU: 1000m
Startup Probe:
TCP every 240s
Port: 8080
Initial delay: 0s
Timeout: 240s
Failure threshold: 1
Type: Default
Service account: 123456789012-compute@developer.gserviceaccount.com
Concurrency: 1
Max Instances: 3
Timeout: 300s
Check the
Concurrency attribute value returned by the
services describe command output to determine the maximum concurrent requests per instance configured for the selected service. If the
Concurrency value is lower than the threshold value configured in your Trend Cloud One™ – Conformity account settings, the request concurrency value configured for the selected Cloud Run service is not compliant.
07 Repeat step no. 5 and 6 for each Cloud Run service available within the selected project.
08 Repeat steps no. 3 – 7 for each GCP project deployed in your Google Cloud account.