New amiSelectorTerm alias for latest~1 #8997
Replies: 6 comments
-
|
I have a similar requirement but I don't think that I'd like to see support for marking an AMI as As a less integrated option Karpenter could support managing dynamic AMI selection from a user defined SSM (or equivalent) source. |
Beta Was this translation helpful? Give feedback.
-
|
I would love to see this implemented and have a |
Beta Was this translation helpful? Give feedback.
-
|
Not related to the stable tag, but because of an issue in the latest AL2023 release, and because a lack of documentation around selecting versions by alias, I have been using: to back off the most recent version. +1 for a stable tag the lags behind! |
Beta Was this translation helpful? Give feedback.
-
|
Hello, I was going to create a new issue about our use case, but I think this one is close. We don't want the latest AMI to be directly deployed to production environments, but we also don't want to manually modify all EC2Nodeclass resources every time the AMI is changed. We have about sixty EKS test/staging/production clusters to manage. Therefore, we currently use the following mechanism:
The tag update script has the following constraint: the new AMI must have been published for more than X days. In test environments, this value is 0, in staging environments, it's 3, and in production, it's 8. The idea of an alias "@stable" is interesting, but it's more opaque and doesn't allow for differentiation across the three environments. So, could the idea of having an alias that selects the most recent AMI, but one that was published more than X days ago, fit into this issue?
|
Beta Was this translation helpful? Give feedback.
-
|
I like this idea, but wouldn't you want your n-1 clusters to be on version n when AWS releases a critical Security Patch? It would be great if AWS / Karpenter had release channels for 'latest' and 'stable' for edge and more vetted releases. |
Beta Was this translation helpful? Give feedback.
-
|
I'm going to close this issue and covert it to a discussion for the same reason I laid out here. You can find our documentation on best practices for managing AMIs in production environments in our docs: https://karpenter.sh/docs/tasks/managing-amis/. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
What problem are you trying to solve?
I want our staging environment to use the
latestami and our production environment to usen-1- alias: al2023@latest- alias: al2023@latest~1This requires less manual work to find the specific AMI versions and having to manually pin/update Karpenter each time. This includes when they can lag behind in each region and when we there are multiple arch as well.
How important is this feature to you?
We have been recommended by our AWS TAM team to implement this strategy for our environments.
Beta Was this translation helpful? Give feedback.
All reactions