Skip to content

Commit

Permalink
feat: schedule critical workload to on-demand instance only
Browse files Browse the repository at this point in the history
  • Loading branch information
chong-techops committed Feb 3, 2025
1 parent 965ce5b commit f7b0763
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions deploy/production/cage-keeper.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@ service:
containerPort: 8080
tls:
enabled: false
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: karpenter.sh/capacity-type
operator: In
values:
- on-demand
image:
pullPolicy: Always
serviceAccount:
Expand Down

0 comments on commit f7b0763

Please sign in to comment.