Complete the code to deploy a container to Cloud Run.
gcloud run deploy my-service --image [1] --platform managedThe --image flag requires the container image URL, such as a Google Container Registry path.
Complete the code to specify the region for Cloud Run deployment.
gcloud run deploy my-service --image gcr.io/my-project/my-image --platform managed --region [1]The --region flag sets the geographic location where the service runs, like us-central1.
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 --platform managed --allow-[1]The flag --allow-unauthenticated lets anyone access the service without login.
Fill both blanks to set the memory and CPU limits for a Cloud Run service.
gcloud run deploy my-service --image gcr.io/my-project/my-image --memory [1] --cpu [2] --platform managed
Memory is set with units like 512Mi. CPU is set as a number like 1 for one CPU core.
Fill all three blanks to create a Cloud Run service with environment variables and concurrency setting.
gcloud run deploy my-service --image gcr.io/my-project/my-image --set-env-vars [1]=prod --concurrency [2] --platform managed --region [3]
--set-env-vars sets environment variables like ENVIRONMENT=prod. --concurrency sets how many requests a container handles at once, e.g., 80. --region sets the deployment region.