Kubernetes ist workload agnostic, so the short answer is no. The longer answer is that, unless someone else already has, you'll have to put some work into it. As a starting point, look into StatefulSet – it is a deployment mechanism oriented towards processes with an identity. Also research and experiment with PerststentVolumeClaim and related objects, it is possible to declare volumes such that their contents are preserved and mounted into the same replica even when the database is being deployed. If there is setup to do on the MSSQL server itself, either initContainer or sidecars may be helpful.
If you cannot make it work with the Kubernetes native concepts alone, look into the Operator pattern – essentially, an active piece of code (that you would have to write) that runs in Kubernetes, and interacts with both the Kubernetes API and the server to orchestrate the cluster. An example to look at here is the etcd operator. Good luck, MR On Tue, Feb 6, 2018, 16:19 <arunvenka...@gmail.com> wrote: > Hi There! > > We need to do MSSQL replication on Kubernetes. > > I don't know whether K8s support this feature or not. > > If it is supported, Please show me the way to do. > > Thanks!! > > -- > You received this message because you are subscribed to the Google Groups > "Kubernetes user discussion and Q&A" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to kubernetes-users+unsubscr...@googlegroups.com. > To post to this group, send email to kubernetes-users@googlegroups.com. > Visit this group at https://groups.google.com/group/kubernetes-users. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Kubernetes user discussion and Q&A" group. To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-users+unsubscr...@googlegroups.com. To post to this group, send email to kubernetes-users@googlegroups.com. Visit this group at https://groups.google.com/group/kubernetes-users. For more options, visit https://groups.google.com/d/optout.