[EKS] [Feature Request]: Support additional rules and dont limit to 24 rules in network policies. #2481
Labels
EKS Networking
EKS Networking related issues
EKS
Amazon Elastic Kubernetes Service
Proposed
Community submitted issue
Community Note
Tell us about your request
Support additional rules and remove the 24 unique ports per protocol per pod selector rule in networkpolicies for vpc-cni
Which service(s) is this request for?
This request is for EKS VPC CNI add-on specifically network policies maximum unique ports limitation per protocol per pod selector
Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
As of now, in network policies matching selector, we can add a maximum of 24 rules, and each rule can have port range defined. As an example,
- port: 8080
endPort: 29111
protocol: TCP
similar to above, we can add 24 rules with port range defined for a selector.
If you have more port ranges to be whitelisted for example, if you need to allow few ports in 1000 range, few more in 2000 range and so on, and if we proceed similarly it may exceed 24 ports. Due to limitation of VPC CNI, it may not be achievable as told before. To achive this, we need to allow broder range of ports which is not a best practice.
Are you currently working around this issue?
I'm currently working with port ranges. However, from a security perspective and future requirements, this is not a feasible approach
Additional context
Anything else we should know?
We opened a support ticket with ID 173208198600926
The text was updated successfully, but these errors were encountered: