Has anyone tried getting GCP load balancer working...
# flyte-on-gcp
w
Has anyone tried getting GCP load balancer working with Flyte? I had a hard time finding code samples. I found this in Flytekit but they're using Istio. I'm trying to see if there's a way to just configure the ingress without Istio.
c
Hey, I’m the author of that plugin.
You will be able to get this to work without Istio too.
The thing that you will need is to have a backend behing the GCE load balancer that serves with TLS (because grpc needs http2 and google load balancers require TLS between load balancer and backend for this).
In this tutorial the istio ingress gateway which is the backend behind the gce load balancer does TLS.
In theory flyteadmin can serve with TLS, in practice I found it to not work for all endpoints (unfortunately I don’t know anymore into which issue I ran).
If you don’t want istio, you could put an nginx deployment into the flyte namespace as a reverse proxy. The GCE load balancer then does TLS with the nginx.
I’m pretty sure you can get this to work with nginx over istio but I haven’t done it.
But if you want to do it and run into issues, I’m happy to try to help.