-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
azure: use new label to identity GPU Nodes #7235
Conversation
@@ -75,7 +75,7 @@ func (azure *AzureCloudProvider) Name() string { | |||
|
|||
// GPULabel returns the label added to nodes with GPU resource. | |||
func (azure *AzureCloudProvider) GPULabel() string { | |||
return legacyGPULabel // Use legacy to avoid breaking, for now |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
legacyGPULabel
is still currently used in azure_template.go to scaffold new Nodes. I elected to keep that since it doesn't seem like it would hurt anything going forward and would be one less blocker in case users try to downgrade cluster-autoscaler from 1.32 to an older version.
/assign @comtalyst |
/lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: comtalyst, nojnhuh The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
This PR follows up from #7203 to migrate the Azure provider from using the
accelerator
label to identify GPU Nodes to thekubernetes.azure.com/accelerator
. #7203 documented that users must set *both* labels in 1.31, so this change should not break users following that instruction.Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: