-
Notifications
You must be signed in to change notification settings - Fork 838
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
Add karpenter.k8s.aws/instance-ami-id
label
#4372
Comments
karpenter.k8s.aws/instance-ami-id
karpenter.k8s.aws/instance-ami-id
karpenter.k8s.aws/instance-ami-id
label
We could also (as in: do both):
|
Also, for context on why this was changed from a bug to a feature request: this was originally added as part of the drift work and was intended to be an implementation detail. It was left around and later removed as a result of the Machine migration work to ensure that we are only using label data obtained from the That state has since changed so we should be able to pass the AMI ID through the overrides in the request (actually avoiding creating multiple launch templates due to architecture differences) and then pull the AMI ID detail from the selected override in the |
Code Pointer to us getting the overrides from the |
Hi, please assign me |
Hi, I am also affected by this removal. I recently wrote a tool for checking the status of patching, just a simple "are all nodes on the most recent AMI?", and was using this label. Not having this label makes my tool more involved since it will need permissions to reach out to AWS. |
I'm happy to go ahead adding this to the PR currently linked to this issue (#4637) if we wouldn't consider that too much change for one PR? |
@yuanmwang-wf @gfcroft @JeremyBolster Was thinking through this a little bit. What if the AMI ID was stored in the |
We'll need to update our script a little, but yep that would work for me |
Description
Observed Behavior:
Noticed nodes created by Karpenter after we upgraded to 0.29.2 are missing the karpenter.k8s.aws/instance-ami-id label. We have some operation scripts (if a specific AMI has issues for example) that rely on this label so it would be great if we could get it back.
Expected Behavior:
Current Karpenter labels added by one of our provisioners.
Reproduction Steps (Please include YAML):
A node created by the same provisioner last week:
Versions:
kubectl version
): 1.23The text was updated successfully, but these errors were encountered: