Skip to content
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

[EKS] [request]: Provide Ability to Set Hop Limit in NodeClass Resource #2498

Open
bdumford-OM1 opened this issue Dec 12, 2024 · 1 comment
Labels
EKS Auto Mode EKS Amazon Elastic Kubernetes Service Proposed Community submitted issue

Comments

@bdumford-OM1
Copy link

bdumford-OM1 commented Dec 12, 2024

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Tell us about your request
I would like the NodeClass resource from api version eks.amazonaws.com/v1 to be able to set MetaDataOptions, especially the hop limit (httpPutResponseHopLimit). This NodeClass resource is the only one that Auto Mode is able to use.

Which service(s) is this request for?
EKS

Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
I am currently blocked from using Auto Mode with an application that requires I use pods that need access to the instance metadata. There is no way to configure the hop limit to 2 or greater in the NodeClass resource to allow access. I am able to do this in Karpenter's EC2NodeClass.

Are you currently working around this issue?
I cannot currently work around this issue.

Additional context
None

Attachments
None

@bdumford-OM1 bdumford-OM1 added the Proposed Community submitted issue label Dec 12, 2024
@mikestef9 mikestef9 added EKS Amazon Elastic Kubernetes Service EKS Auto Mode labels Dec 12, 2024
@lucdew
Copy link

lucdew commented Jan 27, 2025

It is probably the reason why we cannot use the aws fluentbit filter and thus augment the logs with AWS metadata.

On Karpenter it works but in AWS EKS auto-mode the retrieval of the token for the metada service v2 fails.

The following request from the fluentbit (2.31) pod times-out:
curl -X PUT "http://169.254.169.254/latest/api/token" -H "X-aws-ec2-metadata-token-ttl-seconds: 21600"

I checked the EC2 instance started by EKS auto-mode and imdsv2 is required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
EKS Auto Mode EKS Amazon Elastic Kubernetes Service Proposed Community submitted issue
Projects
None yet
Development

No branches or pull requests

3 participants