-
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
Add note in Azure autoscaler documentation about adding accelerator node label on VMSS when GPU nodes are involved. #4999
Conversation
Add note in Azure autoscaler documentation about adding accelerator node label on VMSS when gpu nodes are involved.
|
Welcome @Weihrauch! |
/assign @marwanad |
The GPU label isn't really an Azure-specific thing (nor VMSS for that matter) and it is part of the cloudprovider API contract so every cloudprovider has its notion of defining what the label on GPU nodes is so that CA can identify those. autoscaler/cluster-autoscaler/cloudprovider/cloud_provider.go Lines 112 to 113 in a13c59c
I wonder if we should put a note in the main FAQ instead. https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/FAQ.md |
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.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mwielgus, Weihrauch 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 |
thanks for this change @Weihrauch is it correct that you'd need to set the label |
Hello mweibel, |
Add note in Azure autoscaler documentation about adding accelerator node label on VMSS when GPU nodes are involved.
Which component this PR applies to?
cluster-autoscaler
What type of PR is this?
/kind documentation
What this PR does / why we need it:
I struggled for a long running issue arround GPU node scaling in a Rancher RKE Kubernetes Cluster using Azure VM Scale Set. The scale up process freeze after node count back to zero. After digging the source code I discover that label
accelerator
(hardcoded in azure cloud provider) should be setted on kubelet node to make cluster-autoscaler handle correctly GPU ressources.I guess it would help further user to deal with it.
Which issue(s) this PR fixes:
Special notes for your reviewer:
Does this PR introduce a user-facing change?
NONE
For more information on release notes see: https://git.k8s.io/community/contributors/guide/release-notes.md
-->
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: