Skip to content

Commit 7bcac58

Browse files
committed
autoscaler update
1 parent 0d8e7bd commit 7bcac58

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

values-hypershift.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,21 +70,24 @@ autoscaling:
7070
delayAfterAdd: "10m"
7171
# Node utilization threshold (0.0-1.0) below which nodes are candidates for removal
7272
utilizationThreshold: "0.6"
73+
# Only MachineSets listed here with enabled: true get a MachineAutoscaler. Disable
74+
# default worker autoscalers so the cluster autoscaler scales large-worker pools only
75+
# (otherwise CA may add capacity on either worker or large-worker MachineSets).
7376
machineAutoscalers:
7477
- name: worker-autoscaler-2a
7578
enabled: false
7679
machineSetName: hyper2-v7xhq-worker-us-east-2a
77-
minReplicas: 0
80+
minReplicas: 1
7881
maxReplicas: 6
7982
- name: worker-autoscaler-2b
8083
enabled: false
8184
machineSetName: hyper2-v7xhq-worker-us-east-2b
82-
minReplicas: 0
85+
minReplicas: 1
8386
maxReplicas: 6
8487
- name: worker-autoscaler-2c
8588
enabled: false
8689
machineSetName: hyper2-v7xhq-worker-us-east-2c
87-
minReplicas: 0
90+
minReplicas: 1
8891
maxReplicas: 6
8992
- name: large-worker-2a
9093
enabled: true

0 commit comments

Comments
 (0)