Skip to content

Commit 045db6a

Browse files
committed
Adjust cluster-autoscaler configuration
1 parent c37eddd commit 045db6a

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

lib/charts/cluster-autoscaler.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,10 @@ export class ClusterAutoscaler extends cdk.Construct {
3131
'stderrthreshold': 'info',
3232
'v': 2,
3333
'skip-nodes-with-local-storage': false,
34-
// scale-down-utilization-threshold: 0.5
35-
// scale-down-non-empty-candidates-count: 30
36-
// max-node-provision-time: 15m0s
37-
// scale-down-unneeded-time: 30m
38-
// skip-nodes-with-system-pods: true
34+
'scale-down-utilization-threshold': 0.3,
35+
'skip-nodes-with-system-pods': false,
36+
'cordon-node-before-terminating': true,
37+
'expander': 'least-waste',
3938
}
4039
},
4140
});

0 commit comments

Comments
 (0)