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]: Support EC2 Resource Based Naming #1723

Closed
archoversight opened this issue Apr 27, 2022 · 4 comments
Closed

[EKS] [request]: Support EC2 Resource Based Naming #1723

archoversight opened this issue Apr 27, 2022 · 4 comments
Labels
EKS Amazon Elastic Kubernetes Service Proposed Community submitted issue

Comments

@archoversight
Copy link

archoversight commented Apr 27, 2022

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

Allow EC2 Resource Based Naming to be used on IPv4 and IPv4/IPv6 dual stack subnets with EKS

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?

Resource based naming removes the IPv4 address from hostname, and makes it easier to search for a node. It also allows the internal node DNS to have an AAAA record unlike the IPv4 address based naming.

Are you currently working around this issue?

N/A

Additional context

It's documented that it doesn't work, but why it doesn't work is not documented or known, any additional info AWS is able to provide for this? If you enable RBN after deploying an EKS cluster and roll your nodes, the new nodes don't get a certificate that is valid for the kubelet.

@archoversight archoversight added the Proposed Community submitted issue label Apr 27, 2022
@mikestef9 mikestef9 added the EKS Amazon Elastic Kubernetes Service label Apr 27, 2022
@georgejohnis
Copy link

georgejohnis commented Aug 17, 2022

Amazon EKS version 1.23 added support for EC2 based worker nodes with resource based names. As called out in EC2 documentation here, you can enable resource naming at a subnet level or at an EC2 instance level.

@berry2012
Copy link

For cluster using Karpenter for autoscaling, you will need to modify the node naming convention to use resource name.
Default Karpenter ConfigMap uses "aws.nodeNameConvention": "ip-name"

@ecerulm
Copy link

ecerulm commented Sep 14, 2023

Amazon EKS version 1.23 added support for EC2 based worker nodes with resource based names.

@georgejohnis , I don't see any mention on EKS 1.23 release notes about resource-name\resource-based naming.

Is there any official source stating that EKS supports resource-based naming in addition to the IP address-based naming?

The only thing I could find in the EKS User Guide says "The subnets must use IP address-based naming. Amazon EC2 resource-based naming isn't supported by Amazon EKS."

@mikestef9
Copy link
Contributor

Closing as RBN is fully supported in EKS. Will make sure our docs get updated.

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

No branches or pull requests

5 participants