-
Notifications
You must be signed in to change notification settings - Fork 204
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
feat: support custom instance types with the KWOK provider #1048
feat: support custom instance types with the KWOK provider #1048
Conversation
c12234e
to
8091027
Compare
Pull Request Test Coverage Report for Build 8976607133Details
💛 - Coveralls |
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.
Super nice work! Love the simplifications you've made.
47c2326
to
2b4e7f9
Compare
@njtran I've responded to your comments and committed some changes, lmk what you think! If these look good I can rebase them into the stack. The major update is that, as suggested, we're now just embedding the data into the binary, so I've reverted all the changes to the helm charts. |
2b4e7f9
to
6fa29a9
Compare
6fa29a9
to
bf32b35
Compare
bf32b35
to
629b3e7
Compare
@njtran any other concerns or comments about this PR? Did my response about the spot/on-demand logic make sense? |
629b3e7
to
108919f
Compare
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.
/hold
/lgtm |
/lgtm cancel Oops got the command wrong |
/remove-approve |
Added the boilerplate to gen_instance_types.go |
d6f08b1
to
d95b7da
Compare
@jonathan-innis OK I think I've addressed the remaining comments in here? I tested this again locally and it seems to work, and tests here pass as well. If there are additional concerns, I'd kinda like to address those in follow-up PRs if that's OK? There's been quite a bit of back-and-forth on this already. |
d3fb908
to
e7d6ea3
Compare
e7d6ea3
to
e613da8
Compare
e613da8
to
2547248
Compare
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
Good work! Thanks for committing this!
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: drmorr0, njtran 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 |
/remove-hold |
Fixes #987
Description
This extends the KWOK provider for Karpenter by allowing users to specify custom lists of instance types that will be launched by Karpenter/KWOK.
How was this change tested?
Manual testing in a local kind+kwok cluster; I confirmed that, with the provided
kwok/examples/instance_types.json
, that an nginx deployment with zonal pod topology spread enabled worked correctly:Here are the relevant logs from karpenter:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.