Skip to content

Allow short name matching #857

@dcarrion87

Description

@dcarrion87

Using SQS Mode when the event comes in it's checking against the FQDN only:

E.g.

2023/06/28 05:10:57 WRN Unable to list Nodes w/ label, falling back to direct Get lookup of node
2023/06/28 05:10:57 ERR Unable to fetch node labels for node 'ip-10-X-X-X.ap-southeast-2.compute.internal'  error="nodes \"ip-10-X-X-X.ap-southeast-2.compute.internal\" not found"

But the kubernetes.io/hostname assigned by K3s servers is the short name as we're running on Ubuntu. E.g. just ip-10-X-X-X.

Don't see any way to instruct the node termination handler to do a short name match. Any ideas and/or thoughts welcomed.

At this stage I have overriden host to fqdn.

Metadata

Metadata

Labels

Pending-ReleasePending an NTH or eks-charts releaseType: EnhancementNew feature or requeststaleIssues / PRs with no activity

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions