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, 2019 in GCP by Karan
• 9,500 points
172 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, 2019 by Sirajul
• 50,330 points

Related Questions In GCP

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

Mounting a Google cloud storage bucket to a GKE pod as a persistent disk.

Yes, its possible. There's a similar project,follow ...READ MORE

answered Oct 16, 2019 in GCP by Sirajul
• 50,330 points
1,690 views
0 votes
1 answer

Monitor the resource usage in GKE cluster.

Yes, GKE usage metering tracks information about ...READ MORE

answered Oct 17, 2019 in GCP by Sirajul
• 50,330 points
82 views
0 votes
1 answer
0 votes
1 answer