Skip to content

Commit

Permalink
Updating active-hotspot crons to run on non-spot instnaces
Browse files Browse the repository at this point in the history
  • Loading branch information
deasydoesit committed Dec 21, 2023
1 parent d5ccb52 commit dfbfe64
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit dfbfe64

Please sign in to comment.