Skip to content

Static External IP (AWS elastic IP) #4006

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

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

Static External IP (AWS elastic IP) #4006

Vadim-Zenin opened this issue Jan 8, 2025 · 4 comments
Labels
kind/feature Categorizes issue or PR as related to a new feature. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.

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.

@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle stale
  • Close this issue with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Apr 10, 2025
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. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.
Projects
None yet
Development

No branches or pull requests

6 participants