Skip to content

Commit

Permalink
MachinePool annotation required for the AWS native autoscaler to auto…
Browse files Browse the repository at this point in the history
…scale it

Signed-off-by: Archisman <[email protected]>
  • Loading branch information
Archisman committed Oct 6, 2024
1 parent 0c78ab7 commit 85759c0
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ apiVersion: cluster.x-k8s.io/v1beta1
kind: MachinePool
metadata:
name: {{ printf "%s-%s" $.Values.global.clusterName $machinePool.name }}
annotations:
cluster.x-k8s.io/replicas-managed-by: external-autoscaler
spec:
clusterName: {{ $.Values.global.clusterName }}
replicas: {{ $machinePool.replicas }}
Expand Down

0 comments on commit 85759c0

Please sign in to comment.