-
Notifications
You must be signed in to change notification settings - Fork 137
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: correctly handle non-existent / empty StorageClasses #783
fix: correctly handle non-existent / empty StorageClasses #783
Conversation
4a9f91f
to
77f5fb6
Compare
Pull Request Test Coverage Report for Build 6951585057
💛 - Coveralls |
77f5fb6
to
3b70606
Compare
e2892b7
to
75f3f4c
Compare
e682f0b
to
f6bccf3
Compare
42b747a
to
b60d2ef
Compare
b60d2ef
to
f7818ce
Compare
/check-cla |
f7818ce
to
f930808
Compare
Pull Request Test Coverage Report for Build 7104866217
💛 - Coveralls |
f634e7f
to
6b0a354
Compare
/lgtm |
/hold Holding this change for E2E storage test validation |
6b0a354
to
49d0e0f
Compare
49d0e0f
to
174b61f
Compare
@jmdeal: The following tests failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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/test-infra repository. I understand the commands that are listed here. |
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 🚀
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jmdeal, jonathan-innis 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 |
/unhold |
We have the E2E tests in place and will bump the Karpenter version that contains this fix before we merge the E2E testing in the AWS cloud provider repo: aws/karpenter-provider-aws#5229 |
Fixes #664
Description
Karpenter doesn't correctly handle two StorageClass cases: when the StorageClass is explicitly
""
and when the StorageClass does not exist. A pod with a PVC that falls into one of these cases should be able to successfully schedule if the PVC is already bound to a PV. Additionally, currently Karpenter treats both anil
StorageClass and""
StorageClass as the default StorageClass. This should only be the case when the StorageClass isnil
.How was this change tested?
make test
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.