Skip to content

Commit 88ff797

Browse files
committed
fix
1 parent 32914c9 commit 88ff797

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

karpenter/karpenter-resources.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,14 @@ metadata:
1616
name: ${KARPENTER_NODEPOOL_NAME}
1717
spec:
1818
requirements:
19+
- key: "karpenter.sh/instance-type"
20+
operator: In
21+
values: ["t3.medium"] # force t3.medium nodes
1922
- key: "karpenter.sh/capacity-type"
2023
operator: In
2124
values: ["spot", "on-demand"]
2225
providerRef:
2326
name: ${KARPENTER_NODECLASS_NAME}
27+
ttlSecondsAfterEmpty: 30 # scale down when empty
2428
consolidation:
25-
enabled: true
29+
enabled: true

0 commit comments

Comments
 (0)