From dfbfe64ece1a252bdf9b7b6c1392804e20ce8e61 Mon Sep 17 00:00:00 2001 From: Darwin Rinderer Date: Thu, 21 Dec 2023 11:43:26 -0500 Subject: [PATCH] Updating active-hotspot crons to run on non-spot instnaces --- .../prod/helium/active-hotspot-oracle-iot.yaml | 7 +------ .../prod/helium/active-hotspot-oracle-mobile.yaml | 9 ++------- 2 files changed, 3 insertions(+), 13 deletions(-) diff --git a/manifests/poc-data-cluster/prod/helium/active-hotspot-oracle-iot.yaml b/manifests/poc-data-cluster/prod/helium/active-hotspot-oracle-iot.yaml index 9fc3e5c2..2d04d752 100644 --- a/manifests/poc-data-cluster/prod/helium/active-hotspot-oracle-iot.yaml +++ b/manifests/poc-data-cluster/prod/helium/active-hotspot-oracle-iot.yaml @@ -15,13 +15,8 @@ spec: template: spec: serviceAccountName: s3-data-lake-bucket-access - tolerations: # Schedule executor pods on spot-helium instance group - - key: dedicated - operator: Equal - value: spot-helium - effect: NoSchedule nodeSelector: - nodegroup-type: spot-helium + nodegroup-type: medium containers: - name: active-hotspot-oracle-iot image: public.ecr.aws/k0m1p4t7/active-hotspot-oracle:0.0.12 diff --git a/manifests/poc-data-cluster/prod/helium/active-hotspot-oracle-mobile.yaml b/manifests/poc-data-cluster/prod/helium/active-hotspot-oracle-mobile.yaml index 72204913..fb548e21 100644 --- a/manifests/poc-data-cluster/prod/helium/active-hotspot-oracle-mobile.yaml +++ b/manifests/poc-data-cluster/prod/helium/active-hotspot-oracle-mobile.yaml @@ -4,9 +4,9 @@ metadata: name: active-hotspot-oracle-mobile namespace: helium spec: - concurrencyPolicy: Forbid # Run 30 minutes after the gold table schedule: "30 3 * * *" + concurrencyPolicy: Forbid successfulJobsHistoryLimit: 3 failedJobsHistoryLimit: 3 jobTemplate: @@ -15,13 +15,8 @@ spec: template: spec: serviceAccountName: s3-data-lake-bucket-access - tolerations: # Schedule executor pods on spot-helium instance group - - key: dedicated - operator: Equal - value: spot-helium - effect: NoSchedule nodeSelector: - nodegroup-type: spot-helium + nodegroup-type: medium containers: - name: active-hotspot-oracle-mobile image: public.ecr.aws/k0m1p4t7/active-hotspot-oracle:0.0.12