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
• 19,610 points
955 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
• 59,230 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
• 59,230 points
9,491 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
• 59,230 points
1,545 views
+1 vote
1 answer
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP