File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
cluster/node-pools/worker-karpenter Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -122,6 +122,8 @@ spec:
122
122
expireAfter : Never
123
123
# References the Cloud Provider's NodeClass resource, see your cloud provider specific documentation
124
124
nodeClassRef :
125
+ group : karpenter.k8s.aws
126
+ kind : EC2NodeClass
125
127
name : {{ .NodePool.Name }}
126
128
#{{ $taints := .NodePool.Taints }}
127
129
#{{ if $taints }}
@@ -256,6 +258,7 @@ spec:
256
258
consolidateAfter : {{ or (index .NodePool.ConfigItems "consolidate_after") "10m" }}
257
259
#{{ else }}
258
260
consolidationPolicy : WhenEmptyOrUnderutilized
261
+ consolidateAfter : {{ or (index .NodePool.ConfigItems "consolidate_after") "0s" }}
259
262
#{{ end }}
260
263
# Priority given to the NodePool when the scheduler considers which NodePool
261
264
# to select. Higher weights indicate higher priority when comparing NodePools.
You can’t perform that action at this time.
0 commit comments