From 2fdce4b14653c85e6b8c7bf70a76d843a39a419b Mon Sep 17 00:00:00 2001 From: Robert Wilkins III <1147229+genome21@users.noreply.github.com> Date: Sun, 14 May 2023 21:24:23 +0000 Subject: [PATCH] update gcp script for spot instance --- scripts/deploy_langflow_gcp_spot.sh | 2 +- scripts/walkthroughtutorial_spot.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/deploy_langflow_gcp_spot.sh b/scripts/deploy_langflow_gcp_spot.sh index 065b6013f..317540a58 100644 --- a/scripts/deploy_langflow_gcp_spot.sh +++ b/scripts/deploy_langflow_gcp_spot.sh @@ -84,7 +84,7 @@ gcloud compute instances create $VM_NAME \ --zone $ZONE \ --network $VPC_NAME \ --subnet $SUBNET_NAME \ - -preemptible + --preemptible # Remove the temporary file after the VM is created rm $tempfile diff --git a/scripts/walkthroughtutorial_spot.md b/scripts/walkthroughtutorial_spot.md index 751f03d78..a08d95770 100644 --- a/scripts/walkthroughtutorial_spot.md +++ b/scripts/walkthroughtutorial_spot.md @@ -29,7 +29,7 @@ Run the deploy_langflow_gcp_spot.sh script to configure the GCP environment and ```sh gcloud config set project -bash ./deploy_langflow_gcp.sh +bash ./deploy_langflow_gcp_spot.sh ``` The script will: