-
Notifications
You must be signed in to change notification settings - Fork 1.2k
feat: adding instance-capacity-flex label to allow filter by flex instances #8315
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
Conversation
…tance types Signed-off-by: Ronaldo Lanhellas <[email protected]>
✅ Deploy Preview for karpenter-docs-prod canceled.
|
…tance types Signed-off-by: Ronaldo Lanhellas <[email protected]>
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.
Only had a couple of few comments, looks good overall
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.
/karpenter snapshot
|
Preview deployment ready! Preview URL: https://pr-8315.d18coufmbnnaag.amplifyapp.com Built from commit |
Pull Request Test Coverage Report for Build 17588838735Details
💛 - Coveralls |
|
Snapshot successfully published to |
Co-authored-by: Jason Deal <[email protected]>
Co-authored-by: Jason Deal <[email protected]>
Signed-off-by: Ronaldo Lanhellas <[email protected]>
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.
/karpenter snapshot
|
Snapshot successfully published to |
|
Looks like there was a failure in the scheduling suite test, should just need to add an E2E test for flex instances here: https://github.com/aws/karpenter-provider-aws/blob/main/test/suites/scheduling/suite_test.go |
ok let me do it |
Signed-off-by: Ronaldo Lanhellas <[email protected]>
9040a68 to
e26cdc8
Compare
I added my tests, if you can run the pipe again |
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.
/karpenter snapshot
|
Snapshot successfully published to |
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.
/karpenter snapshot
|
Snapshot successfully published to |
Signed-off-by: Ronaldo Lanhellas <[email protected]>
Signed-off-by: Ronaldo Lanhellas <[email protected]>
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 🚀
Fixes #4367
Description
Today we don't have a option to filter out all flex instances, instead we need to exclude one by one, which can be hard to maintain. This PR adds a new label
karpenter.k8s.aws/instance-capacity-flex, which can have values true and/or false.Example in NodePool:
this will exclude all instances with
-flexin the name.How was this change tested?
On a real AWS EKS and added more tests cases.
Does this change impact docs?
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.