From a28b7122d39eab5af25b3c4e6b0b9401e86cecc9 Mon Sep 17 00:00:00 2001 From: "Mike Ray (SQL)" Date: Thu, 4 Oct 2018 20:02:33 -0700 Subject: [PATCH] Update ag-services to only demonstrate primary and secondary --- .../sample-manifest-files/ag-services.yaml | 25 +++---------------- 1 file changed, 3 insertions(+), 22 deletions(-) diff --git a/samples/features/high availability/Kubernetes/sample-manifest-files/ag-services.yaml b/samples/features/high availability/Kubernetes/sample-manifest-files/ag-services.yaml index be6c55cd..c3af9e4a 100644 --- a/samples/features/high availability/Kubernetes/sample-manifest-files/ag-services.yaml +++ b/samples/features/high availability/Kubernetes/sample-manifest-files/ag-services.yaml @@ -9,30 +9,11 @@ spec: --- apiVersion: v1 kind: Service -metadata: {annotations: null, name: ag1-secondary-sync, namespace: ag1} +metadata: {annotations: null, name: ag1-secondary, namespace: ag1} spec: ports: - {name: tds, port: 1433} - selector: {mode.ag.mssql.microsoft.com/ag1: synchronousCommit, role.ag.mssql.microsoft.com/ag1: secondary, - type: sqlservr} - type: LoadBalancer ---- -apiVersion: v1 -kind: Service -metadata: {annotations: null, name: ag1-secondary-async, namespace: ag1} -spec: - ports: - - {name: tds, port: 1433} - selector: {mode.ag.mssql.microsoft.com/ag1: asynchronousCommit, role.ag.mssql.microsoft.com/ag1: secondary, - type: sqlservr} - type: LoadBalancer ---- -apiVersion: v1 -kind: Service -metadata: {annotations: null, name: ag1-secondary-config, namespace: ag1} -spec: - ports: - - {name: tds, port: 1433} - selector: {mode.ag.mssql.microsoft.com/ag1: configurationOnly, role.ag.mssql.microsoft.com/ag1: secondary, + selector: {role.ag.mssql.microsoft.com/ag1: secondary, type: sqlservr} type: LoadBalancer +--- \ No newline at end of file