Skip to content

Commit d7fc452

Browse files
committed
Update autoscaler
Signed-off-by: Manuel Alejandro de Brito Fontes <[email protected]>
1 parent c174084 commit d7fc452

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/charts/cluster-autoscaler.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export class ClusterAutoscaler extends cdk.Construct {
1616
release: CLUSTER_AUTOSCALER,
1717
repository: 'https://kubernetes.github.io/autoscaler',
1818
namespace: 'kube-system',
19-
version: '9.9.2',
19+
version: '9.10.3',
2020
wait: true,
2121
values: {
2222
autoDiscovery: {
@@ -27,6 +27,7 @@ export class ClusterAutoscaler extends cdk.Construct {
2727
create: false,
2828
name: CLUSTER_AUTOSCALER,
2929
},
30+
replicaCount: 1,
3031
extraArgs: {
3132
'stderrthreshold': 'info',
3233
'v': 2,
@@ -36,7 +37,7 @@ export class ClusterAutoscaler extends cdk.Construct {
3637
'expander': 'least-waste',
3738
'balance-similar-node-groups': true,
3839
'node-group-auto-discovery': `asg:tag=k8s.io/cluster-autoscaler/enabled,k8s.io/cluster-autoscaler/${cluster.clusterName}`,
39-
//TODO: enable after next release 'cordon-node-before-terminating': true,
40+
'cordon-node-before-terminating': true,
4041
}
4142
},
4243
});

0 commit comments

Comments
 (0)