aws-cloud-map-mcs-controller-for-k8s icon indicating copy to clipboard operation
aws-cloud-map-mcs-controller-for-k8s copied to clipboard

Connectivity through AWS Transit Gateway

Open RamazanKara opened this issue 3 years ago • 4 comments

In our Organization we have a huge amount of Teams with lots of EKS Clusters distributed throughout the Organization, making the usage of VPC Peering compared to Transit Gateway a lot more complicated. Will there be upcoming support of Transit Gateway usage for the MCS Controller?

RamazanKara avatar Jan 13 '22 09:01 RamazanKara

Hey @RamazanKara - The MCS controller does not have explicit VPC Peering support. In fact, the controller itself is agnostic of how the network connectivity is going to be established between services across the clusters. It takes care of the Service Discovery only. That said, we have only tried out VPC Peering. Why don't you try it out with Transit Gateway and let us know of any issues. We can probably address those in future milestones.

runakash avatar Jan 14 '22 08:01 runakash

Thanks for the info. I will gladly test out the connection through transit gateway and report back how it worked for me so far.

RamazanKara avatar Jan 14 '22 11:01 RamazanKara

Does the MCS controller work only when pods in both clusters are in routable networks? Eg workers in both clusters are in routable subnets with non-overlapping address spaces. For pods, I configured a secondary non-routable subnet with overlapping address spaces. When I create a service, it creates an ALB in a routable subnet. Will MCS register pods by IPs or by ALB IP?

vvbogdanov87 avatar Jul 24 '23 23:07 vvbogdanov87

Does the MCS controller work only when pods in both clusters are in routable networks?

The clusters need to be in the peered networks. And for peering to work the clusters does need non-overlapping address spaces.

Will MCS register pods by IPs or by ALB IP?

Register pods by IPs.

This blog post will be helpful to understand the functionality better.

runakash avatar Jul 24 '23 23:07 runakash