Deploying a failover Microsoft SQL Server 2019

From MSSQL Server 2017, it is possible to host it in a Linux Docker container. As our application requires MSSQL Server for data persistence, we are going to deploy the latest version—MSSQL Server 2019—to our Kubernetes cluster. Currently, it is possible to deploy MSSQL Server to Kubernetes in two modes, as follows:

  1. A single-node instance with failover guaranteed by a Kubernetes Deployment and an Azure Disk persistent volume.
  2. A multi-node, HA cluster using a dedicated Kubernetes operator (

The second mode was announced for preview as of Community Technology Preview (CTP) 2.0 version ( ...

Get Hands-On Kubernetes on Windows now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.