You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/linux/sql-server-linux-kubernetes-deploy.md
+8-5Lines changed: 8 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -81,7 +81,7 @@ On Kubernetes the deployment includes a SQL Server operator, the SQL Server cont
81
81
Copy the SQL Server manifest [`sqlserver.yaml`](https://github.com/Microsoft/sql-server-samples/tree/master/samples/features/high%20availability/Kubernetes/sample-manifest-files/sqlserver.yaml) from [sql-server-samples](https://github.com/Microsoft/sql-server-samples/tree/master/samples/features/high%20availability/Kubernetes/sample-manifest-files).
82
82
83
83
>[!NOTE]
84
-
>The `sqlserver.yaml` file describes the SQL Server containers, persistent volume claims, and persistent volumes that are required for the storage for each SQL Server instance.
84
+
>The `sqlserver.yaml` file describes the SQL Server containers, persistent volume claims, persistent volumes, and load-balancing services that are required for each SQL Server instance.
85
85
86
86
Apply the manifest to the Kubernetes cluster.
87
87
@@ -101,8 +101,8 @@ Use `az aks browse` to launch the dashboard.
101
101
102
102
The [`ag-services.yaml`](https://github.com/Microsoft/sql-server-samples/tree/master/samples/features/high%20availability/Kubernetes/sample-manifest-files/ag-services.yaml) from [sql-server-samples](https://github.com/Microsoft/sql-server-samples/tree/master/samples/features/high%20availability/Kubernetes/sample-manifest-files) example describes load-balancing services that can connect to availability group replicas.
103
103
104
-
-`ag1-primary`connects to the primary replica.
105
-
-`ag1-secondary`connects to any secondary replica.
104
+
-`ag1-primary`provides an endpoint to connect to the primary replica of the AG.
105
+
-`ag1-secondary`provides an endpoint to connect to any secondary replica.
106
106
107
107
When you apply the manifest file in the example, Kubernetes creates the load-balancing services for each type of replica. The load-balancing service includes an IP address. Use this IP address to connect to the type of replica you need.
108
108
@@ -120,8 +120,11 @@ With the IP address, you can connect to the SQL Server instance that hosts each
120
120
121
121
The following image shows:
122
122
123
-
1. The output from `kubectl get services` for the namespace `ag1`.
124
-
1. The connection to the replica, with `sqlcmd`, and the `sa` account.
123
+
- The output from `kubectl get services` for the namespace `ag1`.
124
+
125
+
This includes the load-balancing services that are created for each SQL Server container. You can use these IP addresses as endpoints to connect directly to the instances of SQL Server in the cluster.
126
+
127
+
- The `sqlcmd` connection to the primary replica, with the `sa` account via the load-balancer endpoint.
0 commit comments