Using a Subnet within a peered VPC for allocating Load Balancer services within EKS

0

Hi Folks,

I am using a Hub and Spoke Design for my VPCs where the Hub VPC will act as the central point for Ingress and Egress. I am using Transitive Gateways to achieve this design.

Each of the Spoke VPCs contain an EKS cluster. None of the Spoke VPCs have a public subnet. Currently I have setup the clusters where All Egress traffic from the clusters is routed through an internet Gateway within the Hub VPC.

Now to configure Ingress Traffic, I need to allocate any Load Balancers Type Services within a Public Subnet, which is available in the Hub VPC. Is this possible using the LoadBalancer controller and the annotations it provides for K8S LB type services?

2개 답변
1

So, here in this case, you can have a LoadBalancer in the Hub Account which can expose the services running on other Spoke VPC's. Kindly refer the following document https://aws.amazon.com/blogs/containers/expose-amazon-eks-pods-through-cross-account-load-balancer/

AWS
답변함 일 년 전
0

I had similar scenario and tested with blog link shared here by Kumudhan, and it worked. Thanks for timely resolution.

AWS
답변함 9달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠