Skip to content

Commit 0cf49b4

Browse files
committed
add stable labels to the azure template
1 parent 6c235f8 commit 0cf49b4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cluster-autoscaler/cloudprovider/azure/azure_template.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,11 @@ func buildGenericLabels(template compute.VirtualMachineScaleSet, nodeName string
2929
result := make(map[string]string)
3030

3131
result[kubeletapis.LabelArch] = cloudprovider.DefaultArch
32+
result[apiv1.LabelArchStable] = cloudprovider.DefaultArch
33+
3234
result[kubeletapis.LabelOS] = buildInstanceOS(template)
35+
result[apiv1.LabelOSStable] = buildInstanceOS(template)
36+
3337
result[apiv1.LabelInstanceType] = *template.Sku.Name
3438
result[apiv1.LabelZoneRegion] = strings.ToLower(*template.Location)
3539

0 commit comments

Comments
 (0)