Skip to content

Commit 7850107

Browse files
committed
feat: schedule critical workload to on-demand instance only
1 parent 9b845cf commit 7850107

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

deploy/production/chief-keeper.yaml

+9
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,15 @@ deployment:
2121
provisioningMode: efs-ap
2222
fileSystemId: fs-01b6896d4c2a6deb6
2323
directoryPerms: "700"
24+
affinity:
25+
nodeAffinity:
26+
requiredDuringSchedulingIgnoredDuringExecution:
27+
nodeSelectorTerms:
28+
- matchExpressions:
29+
- key: karpenter.sh/capacity-type
30+
operator: In
31+
values:
32+
- on-demand
2433
image:
2534
pullPolicy: Always
2635
serviceAccount:

0 commit comments

Comments
 (0)