Skip to content

Commit 2ade3ed

Browse files
authored
Merge pull request #448 from MikeRayMSFT/master
Update ag-services to only demonstrate primary and secondary
2 parents 68fb8e7 + a28b712 commit 2ade3ed

1 file changed

Lines changed: 3 additions & 22 deletions

File tree

  • samples/features/high availability/Kubernetes/sample-manifest-files

samples/features/high availability/Kubernetes/sample-manifest-files/ag-services.yaml

Lines changed: 3 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -9,30 +9,11 @@ spec:
99
---
1010
apiVersion: v1
1111
kind: Service
12-
metadata: {annotations: null, name: ag1-secondary-sync, namespace: ag1}
12+
metadata: {annotations: null, name: ag1-secondary, namespace: ag1}
1313
spec:
1414
ports:
1515
- {name: tds, port: 1433}
16-
selector: {mode.ag.mssql.microsoft.com/ag1: synchronousCommit, role.ag.mssql.microsoft.com/ag1: secondary,
17-
type: sqlservr}
18-
type: LoadBalancer
19-
---
20-
apiVersion: v1
21-
kind: Service
22-
metadata: {annotations: null, name: ag1-secondary-async, namespace: ag1}
23-
spec:
24-
ports:
25-
- {name: tds, port: 1433}
26-
selector: {mode.ag.mssql.microsoft.com/ag1: asynchronousCommit, role.ag.mssql.microsoft.com/ag1: secondary,
27-
type: sqlservr}
28-
type: LoadBalancer
29-
---
30-
apiVersion: v1
31-
kind: Service
32-
metadata: {annotations: null, name: ag1-secondary-config, namespace: ag1}
33-
spec:
34-
ports:
35-
- {name: tds, port: 1433}
36-
selector: {mode.ag.mssql.microsoft.com/ag1: configurationOnly, role.ag.mssql.microsoft.com/ag1: secondary,
16+
selector: {role.ag.mssql.microsoft.com/ag1: secondary,
3717
type: sqlservr}
3818
type: LoadBalancer
19+
---

0 commit comments

Comments
 (0)