[WIP] Refactor OS/AMI flavor support adding more flexibility to configure launchtemplates #1500
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR is work in progress and actually a follow-up/alternative to #1346. It is not yet complete and I will only spend more time polishing it (and implementing tests) if it has any chance to be merged. If not, it might still serve as foundation for further discussions about how Karpenter could be improved to support more (real-world) use-cases.
I created this PR at this early stage (kind of in a hurry), to make sure my work/ideas are visible to others (@ellistarn), even though they might not be ready for merging yet. So, please let's focus on the overall design and the features it introduces before we go into more general code-review.
1. Issue, if available:
2. Description of changes:
DeviceName
of the root volume. Guessing theDeviceName
is a common source of errors and why should the user be required to specify it if the system can provide that information. User usually just wants to adjust the volume's type, size, IOPS or throughput and should not have to care about its device name at all.ClusterName
in selectors/filters for securitygroups and subnets. This is important to allow anonymous clusters which are not aware of their cluster names to still select the appropriate subnets and security groups.3. How was this change tested?
4. 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.