[EKS] [request]: Support for creating managed node group without public IPv4 addresses in public subnets
- Dominant language
- Shell
- Stars
- 5.4k
- Forks
- 334
- PR merge metrics
- No merged PRs in 30d
Description
### Community Note
* Please vote on this issue by adding a 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) 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**
This is a request that managed node group in public subnets can be created if IPv6 addresses are assigned and public IPv4 addresses aren't assigned.
Currently, when creating managed node group in public subnets, assigning public IPv4 addresses is necessary.
**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?**
When attempting to create a managed node group in public subnets with ```MapPublicIpOnLaunch: false``` and ```AssignIpv6AddressOnCreation: true```, the following error occurs.
```
Ec2SubnetInvalidConfiguration - One or more Amazon EC2 Subnets of [subnet-xxx, subnet-xxx] for node group xxx does not automatically assign public IP addresses to instances launched into it. If you want your instances to be assigned a public IP address, then you need to enable auto-assign public IP address for the subnet. See IP addressing in VPC guide: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-ip-addressing.html#subnet-public-ip
```
Therefore, nodes that have IPv6 addresses but do not have public IPv4 addresses in public subnets cannot be created.
**Are you currently working around this issue?**
self-managed nodes
**Additional context**
N/A
**Attachments**
N/A
Contributor guide
Research direction
No repository files, tests, or entry points are named. Start by reviewing the EKS managed node group behavior described with MapPublicIpOnLaunch=false and AssignIpv6AddressOnCreation=true; done means public-subnet managed node groups can use IPv6 without public IPv4 addresses and no longer produce the reported error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, kubernetes
- Domain
- cloud, infrastructure
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100