Skip to content

Commit

Permalink
fix label
Browse files Browse the repository at this point in the history
  • Loading branch information
zoe.chou committed Jun 26, 2024
1 parent 34bfb52 commit 2b2f33e
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -456,9 +456,7 @@ func buildGenericLabels(template *groupTemplate, nodeName string) map[string]str

result[kubeletapis.LabelArch] = cloudprovider.DefaultArch
result[kubeletapis.LabelOS] = cloudprovider.DefaultOS
result[apiv1.LabelInstanceType] = template.InstanceType.InstanceType
result[apiv1.LabelZoneRegion] = template.Region
result[apiv1.LabelZoneFailureDomain] = template.Zone
result[apiv1.LabelInstanceTypeStable] = template.InstanceType.InstanceType
result[apiv1.LabelHostname] = nodeName

return result
Expand Down

0 comments on commit 2b2f33e

Please sign in to comment.