I am new to cockroach db. I just wanted to know some of the information about cockroach db multi cluster deployment.
I have deployed some of my web applications in GKE. I have used Kubernetes federation for app latency purpose. one cluster is deployed in
Europe and other is deployed in
asia region. and my application works fine.
I want cockroach db setup in same region. i have created 2 clusters in the
Asia region and deployed cockroach db into that.
Now my question starts from here. How can i connect cockroach db to my application using IP. how can i expose cockroach db to access in my applications. I don’t want port forwarding because my application are deployed in different clusters.
i have .env file in my web app. content is below.
DB_IP : cockroach db ip [`how can i expose it ?`] DB_PASSWORD : DB_USER : DB_PORT :
I will be waiting for the positive reply on that. Thank you !