Can we access mysql operator without port-forwarding?

in case we have some VM on gcp ? and with normal mysql host??

Hello @saloni24 ,

I’m not sure what are the inputs here.

  1. Are you deploying your mysql with Percona Operator for Percona XtraDB Cluster?

  2. Are you deploying it on Google Kubernetes Engine?

If so, we have HAProxy or ProxySQL as the entry gates for the cluster. You can use serviceType section to expose these in any Kubernetes way.

Like setting spec.haproxy.servicetype: Loadbalancer will automatically create a Loadbalancer on GCP and a corresponding service in Kubernetes.

1 Like