Skip to content

Commit de4f441

Browse files
authored
Merge pull request #7964 from zalando-incubator/reduce-karpenter-disruption-frequency
reduce the disruption budget of the karpenter node pools node pools
2 parents d4e2455 + cbcf080 commit de4f441

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,10 @@ spec:
198198
# Configuration in this section constrains how aggressive Karpenter can be with performing operations
199199
# like rolling Nodes due to them hitting their maximum lifetime (expiry) or scaling down nodes to reduce cluster cost
200200
disruption:
201+
# limit the maximum number of nodes that can be removed from the NodePool at once to 10 nodes for clusters with gte 200 nodes
202+
budgets:
203+
- nodes: "5%"
204+
- nodes: "10"
201205
# Describes which types of Nodes Karpenter should consider for consolidation
202206
# If using 'WhenUnderutilized', Karpenter will consider all nodes for consolidation and attempt to remove or replace Nodes when it discovers that the Node is underutilized and could be changed to reduce cost
203207
# If using `WhenEmpty`, Karpenter will only consider nodes for consolidation that contain no workload pods

0 commit comments

Comments
 (0)