Re:Kubernetes for Developers Who Know How to Develop
by CameronNemo on Monday July 25, 2022 @10:45AM
(#32225051)
LoadBalancerIP seems pretty straightforward to me. No Ingress or Gateway needed. Just a plain old Service.
I don't think that would cause issues with long lived connections. It is about as direct as you can get while actually load balancing.
https://cloud.google.com/kubernetes-engine/docs/how-to/servi...
Sure, you could argue that you shouldn't expose backend services like that without an API endpoint at all, because one application->one namespace, or you could use a service mesh/consul to expose it to the things that need it, but it's an entirely different mindset from "I have a postgres cluster in public/private cloud"