Score:0

Single Application Load Balancer for multiple EKS clusters

au flag

I have two clusters - one named staging and the other production and I want to introduce a new service that will be deployed to both. I want to be able to access the service in each environment/cluster using different URLs - something like the two below.

  • new-service-staging.mydomain.com
  • new-service-production.mydomain.com

I also have an AWS Load Balancer Controller as an ingress controller deployed on both clusters, that create a new application load balancer when a new Ingress resource is created

Is there any way that I can utilize a single Application Load Balancer (ALB) on AWS that will direct traffic to each cluster based on the requested URL?

I know I can set up multiple target groups and set up different rules for different hosts under the ALB, so I can have multiple ingresses point to the same ALB - but from my understanding, this is only the case for Ingresses within the same cluster, as again from what I got from the documentation the ALB that is created is tagged and assigned to a specific cluster

So I was wondering is there really a way that I can use a single ALB to direct traffic to multiple clusters?

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.