-
Notifications
You must be signed in to change notification settings - Fork 959
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: reimplement amiFamily #6569
Conversation
✅ Deploy Preview for karpenter-docs-prod ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
6ad0d24
to
f6138c5
Compare
Pull Request Test Coverage Report for Build 10170602493Details
💛 - 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.
/karpenter snapshot
bca07ee
to
922c1da
Compare
Snapshot successfully published to
|
f9d5499
to
4f5673c
Compare
0b24ea7
to
01df94d
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.
/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.
LGTM 🚀
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.
LGTM
c83f9a2
to
b212441
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
Fixes #N/A
Description
Reimplements
amiFamily
for Karpenter's v1 APIs. This enables users to use Karpenter's managed UserData with custom AMIs, along with custom UserData with aliases.Examples:
Additionally, this PR fleshes out the Ubuntu migration path for v1. Since Karpenter is dropping native support for Ubuntu AMIs, there will be no Ubuntu alias. Users with v1beta1 EC2NodeClasses using the Ubuntu AMI family will need to specify AMISelectorTerms before upgrading to v1. Failure to do so will result in the conversion webhook failing closed. As long as AMISelectorTerms are pinned, the v1 NodeClass will carry those over, convert the AMIFamily to Ubuntu, and inject the default Ubuntu blockDeviceMappings if necessary.
e.g.
How was this change tested?
make presubmit
and/karpenter snapshot
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.