0

I use kubernetes cluster on Google Cloud Plataform and I want to change my load balancer from "TCP load balancing" to "HTTP(S) load balancing" (layer 7).

Currently the configuration about "TCP load balancing" is:

enter image description here

For deploy NGINX and create automatically the load balancer, I use the ingress-nginx chart (https://github.com/kubernetes/ingress-nginx). I've been checking the documentation and haven't found the config for change load balancer layer.

I'm a beginner in GCP load balancer. Can anyone help with getting started? Please, if more information is needed, I will provide it.

roliveira
  • 87
  • 1
  • 12
  • Hi, I have exactly the same issue, do you managed to solve it please? Does the solution proposed by @BakulMitra? – rrob Jul 12 '22 at 07:49

1 Answers1

1

You have to switch the way you’re load balancing. We don't change the load balancer type from the GCP UI. So you should create new gke resources. As per your case you would have to use an ingress resource to have external https load balancing.

Check the following Document for more information.

Bakul Mitra
  • 432
  • 2
  • 7
  • thanks. I'll check in more detail. – roliveira Jun 13 '22 at 13:34
  • Hi, I'm a bit lost, could you please guide me on what to look for in the document and how to solve it? – rrob Jul 12 '22 at 07:50
  • I have posted new question on this topic about solution with NEGs at https://stackoverflow.com/questions/72950423/gcp-external-http-cloud-load-balancer-with-nginx-ingress-on-gke . What do you think about this solution @roliveira ? – rrob Jul 12 '22 at 10:14