<p>I have been trying to expose MySQL InnoDB Cluster setup on OCI OKE to Internet. This cluster was installed using MySQL Operator and the pods are listening on to port 6446 and 6447. I have ClusterIP to connect to pods by <code>exec</code>'ing into the pod. However, I  have failed to find any best way to expose this cluster to internet using OCI Loadbalancer. As I am pretty new to OCI, trying to get some understanding on how to get this to work.</p>
<p>Cluster was installed using this <a href="https://github.com/mysql/mysql-operator/tree/trunk/helm" rel="nofollow noreferrer">repo</a></p>

<p>you can install the ingress controller and expose it with a <strong>TCP</strong> port opening with the controller or you can change the service type to LB instead <strong>clusterIP</strong> which will expose the service directly however you might have to take care about the type of <strong>LB</strong> coz <strong>MySQL</strong> will be using <strong>TCP</strong> maybe so <strong>HTTP LB</strong> may not work.</p>
<p>Doc for ref : <a href="https://kubernetes.github.io/ingress-nginx/user-guide/exposing-tcp-udp-services/" rel="nofollow noreferrer">https://kubernetes.github.io/ingress-nginx/user-guide/exposing-tcp-udp-services/</a></p>
<p>With doc, you will get the idea to expose the <strong>TCP</strong> or <strong>UDP</strong> service with <strong>Nginx ingress controller</strong> which is more or like <strong>port</strong> opening and exposing service.</p>
