Skip to content

Commit e6d5f73

Browse files
authored
Merge pull request #8954 from zalando-incubator/consolidate-after
Fix karpenter CRDs for v1.1.1 upgrade
2 parents a66b8e1 + 674bfb6 commit e6d5f73

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cluster/node-pools/worker-karpenter/provisioners.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,8 @@ spec:
122122
expireAfter: Never
123123
# References the Cloud Provider's NodeClass resource, see your cloud provider specific documentation
124124
nodeClassRef:
125+
group: karpenter.k8s.aws
126+
kind: EC2NodeClass
125127
name: {{ .NodePool.Name }}
126128
#{{ $taints := .NodePool.Taints }}
127129
#{{ if $taints }}
@@ -256,6 +258,7 @@ spec:
256258
consolidateAfter: {{ or (index .NodePool.ConfigItems "consolidate_after") "10m" }}
257259
#{{ else }}
258260
consolidationPolicy: WhenEmptyOrUnderutilized
261+
consolidateAfter: {{ or (index .NodePool.ConfigItems "consolidate_after") "0s" }}
259262
#{{ end }}
260263
# Priority given to the NodePool when the scheduler considers which NodePool
261264
# to select. Higher weights indicate higher priority when comparing NodePools.

0 commit comments

Comments
 (0)