Skip to main content
Version: v2.0-RC

SQL Server Availability Group on Kubernetes (DxSqlAg) Guides

The DxSqlAg custom resource is the Kubernetes source of truth for a single SQL Server Availability Group (AG) managed by DxOperator and DxEnterprise. Creating one DxSqlAg tells the operator to create — and continuously reconcile — the AG and its required Kubernetes resources.

At a glance, a DxSqlAg:

  • Defines one AG (one custom resource per AG).
  • Spins up DxEnterprise + SQL Server pods using Kubernetes primitives (e.g., StatefulSets and Services).
  • Adds replicas into an AG through DxEnterprise and keeps the cluster running.
  • Applies declarative changes: when you edit the spec, the operator reconciles the running cluster to match.
  • Optionally manages services through service templates.

This section contains guides for declaring, deploying, and operating a SQL Server Availability Group on Kubernetes using the DxSqlAg custom resource.