Expose the MySQL outside the cluster

Hi,

I installed the Percona MySQL using the Percona K8S Operator.

And all seems to work fine :).

I now wants to access the database from outside the cluster (for testing)

The services are created as ClusterIP

How can I define the service (which service?) to be loadbalancer? (Working on DigitalOcean if it matter)

How can I define NodePort if for some reason the load balancer option is not working

Can you direct me to some documentation as I could find none

Thanks

Ok found it at last

Custom Resource options

Hello @Nehemia,

it should be simple as haproxy.serviceType: LoadBalancer in cr.yaml.

Did it work for you on DigitalOcean?