Skip to content

Commit bb0eee3

Browse files
committed
Update with example deployment.
1 parent ef4c7ce commit bb0eee3

1 file changed

Lines changed: 26 additions & 4 deletions

File tree

docs/linux/sql-server-linux-kubernetes-deploy.md

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: SQL Server Always On availability group Kubernetes operator global requirements
2+
title: Deploy SQL Server Always On Availability Group on Kubernetes Cluster
33
description: This article explains the parameters for the SQL Server Kubernetes Always On availability group operator global requirements
44
author: MikeRayMSFT
55
ms.author: mikeray
@@ -13,11 +13,33 @@ ms.custom: "sql-linux"
1313
ms.technology: linux
1414
monikerRange: ">=sql-server-ver15||>=sql-server-linux-ver15||=sqlallproducts-allversions"
1515
---
16-
# SQL Server Always On availability group Kubernetes operator parameters
16+
# Deploy a SQL Server Always On Availability Group on Kubernetes Cluster
1717

18-
An Always On availability group on Kubernetes requires an operator. The operator is described in a .yaml file. See an example of the specification in [this tutorial](tutorial-sql-server-ag-kubernetes.md).
18+
To deploy a SQL Server Always On Availability Group on a Kubernetes Cluster
1919

20-
This article explains the operator global environment variables.
20+
1. Configure the cluster
21+
22+
Use a cluster with at least four nodes. One node is the master. The other nodes host SQL Server containers with the replicas. At least three replicas are required for high-availability.
23+
24+
1. Configure storage
25+
26+
In cloud environments like Azure, configure persistent volumes.
27+
28+
1. Create Kubernetes secrets
29+
30+
1. Configure and deploy the SQL Server operator manifest
31+
32+
Copy the SQL Server operator `.yaml` file from [sql-server-samples](https://github.com/Microsoft/sql-server-samples/tree/master/samples/features/high%20availability/Linux)
33+
34+
The `.yaml` file is the deployment manifiest for the Kubernetes.
35+
36+
To configure the manifest, update the `.yaml` file for your environment.
37+
38+
Apply the manifest to the Kubernetes cluster.
39+
40+
```azurecli
41+
kubectl apply -f .yaml
42+
```
2143

2244
## Example
2345

0 commit comments

Comments
 (0)