GoogleCloudPlatform / k8s-multicluster-ingress

kubemci: Command line tool to configure L7 load balancers using multiple kubernetes clusters
Apache License 2.0
377 stars 68 forks source link

accessing branch ingresses #210

Open mustafakachwala opened 5 years ago

mustafakachwala commented 5 years ago

Hi Team,

We are creating a global ingress for our master app deployment and a branch ingress for targetting our branch deployments. For eg: main app has url https://test.com branch app has url https://test.com/branchname/build-buildnumber

Now we have two clusters with the above ingresses and have created a multi-ingress using kubemci,

The problem is that when we hit the branch url from the new multi ingress IP, we do not get redirect to the branch ingress.

Question: Will this be supported with kubemci? The problem is that the name of the service.yaml has a dynamic name based on the branch name. Hence, I cannot make it a type:nodeport, as I need to specify the same node port across both clusters, and I will run out of node ports eventually?

Any suggestions as to how I can achieve access to our branch deployment with multi-cluster ingress?