Aws-load-balancer-controller: Static IPs for NLB

Created on 9 Nov 2020  路  4Comments  路  Source: kubernetes-sigs/aws-load-balancer-controller

Is it possible to specify a static IP for the NLB via annotations?

It seems the subnets are automatically being specified for the NLB but is it possible or feasible to specify static IPs like we can do if we create an NLB ourselves?

We need to whitelist some target IPs and our subnet ranges are too large.

kinfeature

Most helpful comment

Yes sorry I didn't mention that it is for the private IP space.

The whitelist is specific to our environment. We need to pass on our load balancer IPs for another firewall and are trying to avoid sending the entire subnet to be whitelisted.

All 4 comments

For internet-facing load balancer, you can specify the EIP allocations via the annotation service.beta.kubernetes.io/aws-load-balancer-eip-allocations. For internal load-balancers, we don't have a similar annotation currently.

Subnets are currently auto-discovered. We will be adding support for manually specifying subnets via annotation - #1576

As for the whitelist you mentioned, is it specific to your application?

Yes sorry I didn't mention that it is for the private IP space.

The whitelist is specific to our environment. We need to pass on our load balancer IPs for another firewall and are trying to avoid sending the entire subnet to be whitelisted.

/kind feature
For the ability to specify static IP for internal load balancers.

/assign kishorj

Was this page helpful?
0 / 5 - 0 ratings

Related issues

joseppla picture joseppla  路  5Comments

rootd00d picture rootd00d  路  4Comments

gigi-at-zymergen picture gigi-at-zymergen  路  5Comments

JakubJecminek picture JakubJecminek  路  5Comments

sawanoboly picture sawanoboly  路  5Comments