Gateway and HttpRoute to redirect external

I have 3 GKES in different regions, both of which have KONG Gateway due to our company's needs. I would like to know if it is possible to use the Gateway and HTTPRoute to direct traffic to the ingress hostname of each kong.

I have in first host in gke-us-east4 us-east4.kong.company.internal 
the second host in gke-us-eas1 us-east4.kong.company.internal

If not, a possible alternative would be to upload a Global Balancer and use a Backend with a group of network endpoints?

0 3 251
3 REPLIES 3

Hey Borgeslima,

Are you trying to have a single ip that redirects to the hostname of the 2 kongs? Who is the caller?

The 2 kong gateway has a load balancer ip associated, right?

Also the 2 (or 3?) gke cluster are in the same gcp project/same vpc network?

So, I have a Global IP that I would like to balance for 2 IPS that are Ingress Controllers in different GKE'S, one in us-eas1 and the other in us-east4, I would like to know if it is possible to balance the Global IP for these 2 IPS using HTTPRoute, or MCI.

The 3rd GKE is where I use it as a Gateway and HttpRoute

Ex: 

GATEWAY (IP GLOBAL) -> KONG 1 (IP REGIONAL us-east1)
SAME GATEWAY (IP GLOBAL) -> KONG 2 (IP REGIONAL us-east4) 

😁

I haven't tested this but I think maybe this is a pointer in the right direction. you will have to use multi cluster gateway https://cloud.google.com/kubernetes-engine/docs/how-to/deploying-multi-cluster-gateways

Forget about MCI!

Top Labels in this Space