Skip to content

Commit

Permalink
chore: remove spot provisioning option (#2150)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ziinc authored Jul 19, 2024
1 parent 067a800 commit adef379
Showing 1 changed file with 0 additions and 30 deletions.
30 changes: 0 additions & 30 deletions cloudbuild/staging/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit adef379

Please sign in to comment.