From adef379a4c042f52339076220532c0f45d1f2f8b Mon Sep 17 00:00:00 2001 From: Ziinc Date: Fri, 19 Jul 2024 13:11:28 +0800 Subject: [PATCH] chore: remove spot provisioning option (#2150) --- cloudbuild/staging/deploy.yaml | 30 ------------------------------ 1 file changed, 30 deletions(-) diff --git a/cloudbuild/staging/deploy.yaml b/cloudbuild/staging/deploy.yaml index aaacedf54..78a029b3e 100644 --- a/cloudbuild/staging/deploy.yaml +++ b/cloudbuild/staging/deploy.yaml @@ -28,36 +28,6 @@ steps: - --shielded-integrity-monitoring - --image=cos-stable-109-17800-147-54 - --image-project=cos-cloud - # create spot instance template - - name: gcr.io/cloud-builders/gcloud - allowExitCodes: [1] - args: - - compute - - instance-templates - - create-with-container - - $_TEMPLATE_NAME_SPOT - - --boot-disk-size=25GB - - --boot-disk-type=pd-balanced - - --machine-type=${_INSTANCE_TYPE} - - --project=logflare-staging - - --provisioning-model=SPOT - - --network-interface=network=default,network-tier=PREMIUM - - --maintenance-policy=TERMINATE - - --service-account=compute-engine-2022@logflare-staging.iam.gserviceaccount.com - - --scopes=https://www.googleapis.com/auth/cloud-platform - - --tags=phoenix-http,https-server - - --container-image=${_CONTAINER_IMAGE} - - --metadata-from-file=shutdown-script=./cloudbuild/shutdown.sh - # needed for enabling node-problem-detector, explicitly enable logging - - --metadata=google-monitoring-enabled=true,google-logging-enabled=true - - --container-privileged - - --container-restart-policy=always - - --container-env=LOGFLARE_GRPC_PORT=50051,RELEASE_COOKIE=${_COOKIE},LOGFLARE_LOGGER_METADATA_CLUSTER=${_CLUSTER},LOGFLARE_ALERTS_ENABLED=false - - --no-shielded-secure-boot - - --shielded-vtpm - - --shielded-integrity-monitoring - - --image=cos-stable-109-17800-147-54 - - --image-project=cos-cloud # update instance group to the new template - name: gcr.io/cloud-builders/gcloud args: