From 345cf0ec8839b55ed019e078161812e06061a0fa Mon Sep 17 00:00:00 2001 From: Shirley Cohen Date: Thu, 9 Nov 2023 09:31:57 -0600 Subject: [PATCH] fixed minor formatting bug --- docs/manual_deployment.md | 43 +++++++++++++++++++-------------------- 1 file changed, 21 insertions(+), 22 deletions(-) diff --git a/docs/manual_deployment.md b/docs/manual_deployment.md index 7426bfa..6702718 100644 --- a/docs/manual_deployment.md +++ b/docs/manual_deployment.md @@ -246,15 +246,14 @@ gcloud alpha firestore databases create --project=$TAG_ENGINE_PROJECT --location To deploy the UI service without IAP: ``` - gcloud beta run deploy tag-engine-ui \ - --source . \ - --platform managed \ - --region $TAG_ENGINE_REGION \ - --allow-unauthenticated \ - --ingress=all \ - --memory=1024Mi \ - --service-account=$TAG_ENGINE_SA - + gcloud beta run deploy tag-engine-ui \ + --source . \ + --platform managed \ + --region $TAG_ENGINE_REGION \ + --allow-unauthenticated \ + --ingress=all \ + --memory=1024Mi \ + --service-account=$TAG_ENGINE_SA ``` To deploy the UI service behind IAP: @@ -264,19 +263,19 @@ gcloud alpha firestore databases create --project=$TAG_ENGINE_PROJECT --location Create a VPC access connector before running the next command. This connector is used to send requests to your VPC network from Cloud Run using internal DNS and internal IP addresses as opposed to going through the public internet. To create a connector, consult [this page](https://cloud.google.com/vpc/docs/configure-serverless-vpc-access#gcloud). ``` - gcloud beta run deploy tag-engine-ui \ - --source . \ - --platform managed \ - --region $TAG_ENGINE_REGION \ - --allow-unauthenticated \ - --ingress=internal-and-cloud-load-balancing \ - --port=8080 \ - --min-instances=0 \ - --max-instances=5 \ - --memory=1024Mi, - --service-account=$TAG_ENGINE_SA \ - --vpc-connector=projects/$TAG_ENGINE_PROJECT/locations/$TAG_ENGINE_REGION/connectors/$VPC_CONNECTOR \ - --vpc-egress=private-ranges-only + gcloud beta run deploy tag-engine-ui \ + --source . \ + --platform managed \ + --region $TAG_ENGINE_REGION \ + --allow-unauthenticated \ + --ingress=internal-and-cloud-load-balancing \ + --port=8080 \ + --min-instances=0 \ + --max-instances=5 \ + --memory=1024Mi, + --service-account=$TAG_ENGINE_SA \ + --vpc-connector=projects/$TAG_ENGINE_PROJECT/locations/$TAG_ENGINE_REGION/connectors/$VPC_CONNECTOR \ + --vpc-egress=private-ranges-only ```