4 ms·
This is a decent article on how the load balancing between GCP loadbalancers and kubernetes works. We use terraform end to end and tried the http/https L7 load
by cbushko 7y ago
This is a decent article on how the load balancing between GCP loadbalancers and kubernetes works.
We use terraform end to end and tried the http/https L7 loadbalancer first in our setup but I had a heck of a time with:
- there is no API for the annotation mentioned in the article so if you miss it while setting up a backend, nothing works
- gRPC was hard to get going. Most gRPC examples out there use some port such as 50051 so you assume that is needed. gRPC does work over 443.
We currently use istios ingressgateway as a loadbalancer that you set in your kubernetes setup. It works but I don't know if it is better or not. We had to run an ingressgateway pod as a daemonset on every node so that we could get the real IP addresses from requests for security logging. That was a pain.