kubernetes-sigs / aws-load-balancer-controller

A Kubernetes controller for Elastic Load Balancers
https://kubernetes-sigs.github.io/aws-load-balancer-controller/
Apache License 2.0
3.93k stars 1.46k forks source link

Question: Can the controller support multiple VPC (internal/external) ? #2232

Closed christianlafleur closed 3 years ago

christianlafleur commented 3 years ago

Just figure it out if i can use the same controller (v2.2.0) on multiple VPC since no annotation seem to exist for that. Subnet work but fail with security group and target group later (vpc id mishmah). Im running on EKS private cluster.

M00nF1sh commented 3 years ago

@christianlafleur Hi, the controller works with a single vpc only. working with multiple vpc/accounts is also requested by multiple customers, and we are planning to design and support it. Would you mind share your use case so that we can evaluate? e.g. your vpc setup/ traffic flow and expected alb/targetgroup/securitygroup setup by the controller.

christianlafleur commented 3 years ago

Hello, good to know you are panning this feature ! My usecase is simply to use specific VPC for Internet facing ingress and another VPC for internal ones. Thanks

PT-GD commented 6 days ago

Would you mind share your use case so that we can evaluate? e.g. your vpc setup/ traffic flow and expected alb/targetgroup/securitygroup setup by the controller.

I have a similar problem. In my case I cannot use VPC peering as proposed by others. Rather I am using a private transit gateway to communicate between the two VPCs. It seems that the controller creates the target group based on the VPC of the targets.

PT-GD commented 6 days ago

@M00nF1sh did this get put on the roadmap? perhaps time to reopen