2

We deployed dot net core application in kubernetes and we started to use vitess database to scale mysql. How can we connect dot net core application with vitess?

Chethan SR
  • 77
  • 1
  • 9
  • How did you bring up vitess? Did you helm charts or the planetscale operator? The recommended way is to make sure that you start vtgate with mysql protocol enabled and use dot net's mysql driver. You're probably the first one doing. So, you should report issues if you run into problems. – Sugu Sougoumarane Feb 13 '20 at 12:07
  • @SuguSougoumarane We have deployed Vitess in Kubernetes using Helm Charts and exposed VTGate through node Port as it was was mentioned in the Vitess documentation, we are able to connect VTGate from dot net core using my Sql Driver but i am not sure on how to expose VTGate in Production and connect – Chethan SR Mar 02 '20 at 09:10
  • 1
    Exposing VTGate in production has many options. You could expose it as a k8s service, or use an Elastic Load Balancer, etc. Essentially, use the same techniques others use to expose a stateless workload. – Sugu Sougoumarane Mar 03 '20 at 16:08

0 Answers0