-
Notifications
You must be signed in to change notification settings - Fork 807
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
Fix gpus not being considered when counting allocatables #2108
Fix gpus not being considered when counting allocatables #2108
Conversation
Hi @ElijahQuinones. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/ok-to-test |
Should we do some manual testing by setting up a cluster with GPU instances? |
I have manually tested the limit outside of Kubernettes entirely by just spinning up a g4ad.xlarge instance and manually attaching ebs volumes until I hit the limit where all volumes afterwards are stuck in the attaching state this test concluded that 24 volumes could be attached to the g4ad.xlarge which complies with what the documentation provides. starts at 28 Additionally the unit tests for a g4ad.xlarge return the expected value of 24 slots. however if we feel it would cover more bases I can run the test with a g4ad.xlarge cluster just to make sure there is no gotchas. |
…mits unit tests add go doc comment to GetReservedSlotsForInstanceType
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.
I've personally done enough manual testing to be confident it works
Needs squash otherwise lgtm
Code Coverage Diff
|
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.
Thanks for including additional unit tests.
/lgtm
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: AndrewSirenko 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 |
/label tide/merge-method-squash |
…les (kubernetes-sigs#2108) * Fix gpus not being considered when counting allocatables * Parallelize volume limits table generating scripts refactor volume limits unit tests add go doc comment to GetReservedSlotsForInstanceType
Is this a bug fix or adding new feature?
bug fix to address part of gh #2105 gpus not being considered when counting allocatables.
What is this PR about? / Why do we need it?
We need this PR in order to fix the above referenced bug
What testing is done?
Compared manually to list of gpu instances
and created unit tests for instances mentioned in ticket and for a gpu instance with 4 gpus.