-
Notifications
You must be signed in to change notification settings - Fork 1k
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: Make sure EbsOptimizedInfo exists when selecting instances by EBS maximum bandwidth #6663
fix: Make sure EbsOptimizedInfo exists when selecting instances by EBS maximum bandwidth #6663
Conversation
✅ Deploy Preview for karpenter-docs-prod ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
014efe6
to
648033f
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
I would add this or a similar instance type to the generated test data, but it seems there are no instance types in
|
Tentatively added |
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 🚀
Removing Full description below if you want to see for yourself :p Full
|
Head branch was pushed to by a user without write access
`g2.xlarge` has `.EbsInfo.EbsOptimizedSupport == "default"`, but no `.EbsInfo.EbsOptimizedInfo`. When selecting instance by EBS maximum bandwidth, make sure that this key exists.
1e78d61
to
a98c0a2
Compare
a98c0a2
to
1780bbf
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 🚀
Pull Request Test Coverage Report for Build 10279220049Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
We observed that
g2.xlarge
has.EbsInfo.EbsOptimizedSupport == "default"
, but no.EbsInfo.EbsOptimizedInfo
:This can cause a nil pointer dereference when gathering instance info, following the support for EBS maximum bandwidth introduced in #5925
Add an extra check to EBS maximum bandwidth selection to make sure that this key exists.