Can I create a load balancer with path based routing in GKE?

0 votes
Is it possible to create a GKE load balancer with path based routing? Although Ingress with public endpoint supports this , Can I do this with for a loadbalancer with private endpoint?
Oct 10 in GCP by Karan
• 6,670 points
55 views

1 answer to this question.

0 votes

Yes, it's possible.

Note that you simply will use the internal Load balancing (ILB) for GKE that makes a private LoadBalancer Ingress ip within the cluster for receiving traffic inside a similar VPC region.

In addition, since you need to configure it using path-based routing, take into account the following:

  • It must be an Ingress, not a Service.

  • Install an NGINX/Traefik IngressController.

  • Expose it with an ILB Service.

  • Add Ingresses whose annotations solely specify they must produce an NGINX/Traefik Ingress entry.

answered Oct 10 by Sirajul
• 41,000 points

Related Questions In GCP

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer