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

Static External IP (AWS elastic IP) #4006

Open
Vadim-Zenin opened this issue Jan 8, 2025 · 3 comments
Open

Static External IP (AWS elastic IP) #4006

Vadim-Zenin opened this issue Jan 8, 2025 · 3 comments
Labels
kind/feature Categorizes issue or PR as related to a new feature.

Comments

@Vadim-Zenin
Copy link

Is your feature request related to a problem?
We need static external IP for AWS load-balancer.

Describe the solution you'd like
Would be nice if we could assign reserved AWS elastic IPs to the load-balancer.

@amznapei
Copy link

amznapei commented Jan 8, 2025

Hello, thanks for reporting this. Can you please clarify if this is referring to an ALB or NLB? Thank you.

@shraddhabang shraddhabang added the kind/feature Categorizes issue or PR as related to a new feature. label Jan 8, 2025
@Vadim-Zenin
Copy link
Author

Vadim-Zenin commented Jan 9, 2025

Ideally would be for both ALB and NLB, like Internet <-> AWS NLB with elastic IP <-> AWS ALB <-> AWS EKS.
Minimum for NLB, like Internet <-> AWS NLB with elastic IP <-> AWS EKS.
Would be nice keep user's IP info...
P.S. AWS ALB does not support static IP even customers request it since many years ago. You could suggest any reasonable work around.

@zac-nixon
Copy link
Collaborator

Unfortunately we have not added support for ALB as a target of NLB (#2297).

Like you mention, NLB does support choosing the IP, and the controller supports it to. https://kubernetes-sigs.github.io/aws-load-balancer-controller/v2.10/guide/service/annotations/#eip-allocations

A solution to your problem is to set up an out of band NLB, have the LBC manage an ALB, and manually register the ALB into your NLB. This should be reasonably straight forward as you shouldn't need to manage the out of band NLB, while the LBC will do the heavy lifting of ensuring the ALB targets are correctly updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

No branches or pull requests

4 participants