Skip to content

Commit fc8a984

Browse files
committed
Fixes for the labels capacity annotations
Use the upstream annotation for the labels as the team is transitioning to use the upstream labels for all the other annotations too and making this in advance allow us not to support both the downstream and upstream annotations for the labels case.
1 parent d3a0583 commit fc8a984

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/cloud/azure/actuators/machineset/controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ const (
5353
cpuKey = "machine.openshift.io/vCPU"
5454
memoryKey = "machine.openshift.io/memoryMb"
5555
gpuKey = "machine.openshift.io/GPU"
56-
labelsKey = "machine.openshift.io/labels"
56+
labelsKey = "capacity.cluster-autoscaler.kubernetes.io/labels"
5757
)
5858

5959
// Reconciler reconciles machineSets.

0 commit comments

Comments
 (0)