Skip to content

Commit e45e630

Browse files
committed
hetzner: add node.kubernetes.io/instance-type label to template
apiv1.LabelInstanceType is the beta.kubernetes.io label, so we should consider both that and the stable node.kubernetes.io label in the template.
1 parent 1d3b2ed commit e45e630

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cluster-autoscaler/cloudprovider/hetzner/hetzner_node_group.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,7 @@ func buildNodeGroupLabels(n *hetznerNodeGroup) (map[string]string, error) {
389389

390390
labels := map[string]string{
391391
apiv1.LabelInstanceType: n.instanceType,
392+
apiv1.LabelInstanceTypeStable: n.instanceType,
392393
apiv1.LabelTopologyRegion: n.region,
393394
apiv1.LabelArchStable: archLabel,
394395
"csi.hetzner.cloud/location": n.region,

0 commit comments

Comments
 (0)