-
Notifications
You must be signed in to change notification settings - Fork 268
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
filter non-ASG nodes by tag #654
Comments
Hi @universam1! Can you help confirm the ask? It sounds like you want the ability for NTH to ignore nodes that are not associated with an ASG, using the same
Can you help clarify what you mean, assuming this is your current workaround to the issue? |
@AustinSiu Thank you for asking - actually the opposite 😄 I want NTH to manage non-ASG nodes that are created by Karpenter. Plus I need to filter based on tags to identify the cluster-nodes.
Sorry if I was unclear, I have no workaround for this problem. |
👋 @universam1 you are right and this is a regression. We used to have an |
I've just encountered a similar issue. I just wanted to post a potential workaround to tag your instance with We are looking forward to the solution. @bwagner5 not sure what |
Thanks @bwagner5 I've just tested it with version |
Describe the feature
Karpenter nodes are not bound to a Autoscaling Group. Filter on
tags
viacheck-asg-tag-before-draining
is scoped to ASG only, so it is not possible to filter nodes such nodes based on tags.aws-node-termination-handler/pkg/monitor/sqsevent/sqs-monitor.go
Lines 356 to 365 in 2048e92
Is the feature request related to a problem?
AFAIK pre - filtering the
Spot ITN Events
is not possible becauseEC2 Spot Instance Interruption Warning
do not containtags
of the instance where we could filter the rule onI have several clusters in one account and thus I am missing an option in NTH to filter for cluster respective nodes only.
Describe alternatives you've considered
none
The text was updated successfully, but these errors were encountered: