Complete the code to deploy a container image to Cloud Run.
gcloud run deploy my-service --image [1] --platform managedThe --image flag requires the container image URL to deploy to Cloud Run.
Complete the code to specify the region for Cloud Run deployment.
gcloud run deploy my-service --image gcr.io/my-project/my-image:latest --platform managed --region [1]The --region flag sets the geographic location where Cloud Run deploys your service.
Fix the error in the command to allow unauthenticated access to the Cloud Run service.
gcloud run deploy my-service --image gcr.io/my-project/my-image:latest --platform managed [1]--no-allow-unauthenticated which denies public access.The flag --allow-unauthenticated enables public access to your Cloud Run service.
Fill both blanks to set the maximum number of instances and memory limit for the Cloud Run service.
gcloud run deploy my-service --image gcr.io/my-project/my-image:latest --platform managed --max-instances [1] --memory [2]
--max-instances limits the number of container instances to 5.
--memory sets the memory limit per instance to 512Mi (megabytes).
Fill all three blanks to create a Cloud Run service with environment variables and concurrency settings.
gcloud run deploy my-service --image gcr.io/my-project/my-image:latest --platform managed --set-env-vars [1] --concurrency [2] --region [3]
--set-env-vars sets environment variables like ENV=production.
--concurrency sets how many requests each instance can handle, here 80.
--region specifies the deployment region.