Skip to content

Commit 97ea122

Browse files
Merge pull request #66 from aleskandro/fixes-multiarch
Set upstream labels and fix capability for the arch-aware scale from 0 in Azure
2 parents d3a1d28 + fc8a984 commit 97ea122

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
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.

pkg/cloud/azure/services/resourceskus/sku.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ const (
7171
// UltraSSDAvailable identifies the capability for the support of UltraSSD data disks.
7272
UltraSSDAvailable = "UltraSSDAvailable"
7373
// CPUArchitectureType identifies the capability for the CPU architecture.
74-
CPUArchitectureType = "CpuArchitecture"
74+
CPUArchitectureType = "CpuArchitectureType"
7575
// X64 and Arm64 are the possible values for CPUArchitectureType, in the Azure APIs. We will adapt them in the controller
7676
// to the ones kubernetes expect.
7777
X64 = "x64"

0 commit comments

Comments
 (0)