Generally there are 2 ways (nodeport or load balancer) to expose vtgate service to outside of k8s cluster.
Currently the Vitess cluster CRD provides the ServiceOverrides structure for us to tweak some properties of vtgate service. But this structure doesn't provide the capability for tweaking nodeport or load balancer settings.
So the only way for us to expose the vtgate service to outside k8s cluster is to add another layer of ingress gateway over the vtgate. This will cost extra overheads on the mysql connection roundtrip.
So please make it possible to expose vtgate (even other vitess related service) by nodeport or load balancer through vitess cluster CRD.
Related slack thread: https://vitess.slack.com/archives/C0PQY0PTK/p1638621405356000
Generally there are 2 ways (nodeport or load balancer) to expose vtgate service to outside of k8s cluster.
Currently the Vitess cluster CRD provides the ServiceOverrides structure for us to tweak some properties of vtgate service. But this structure doesn't provide the capability for tweaking nodeport or load balancer settings.
So the only way for us to expose the vtgate service to outside k8s cluster is to add another layer of ingress gateway over the vtgate. This will cost extra overheads on the mysql connection roundtrip.
So please make it possible to expose vtgate (even other vitess related service) by nodeport or load balancer through vitess cluster CRD.
Related slack thread: https://vitess.slack.com/archives/C0PQY0PTK/p1638621405356000