Skip to content

Commit 99ee551

Browse files
zach-carrjwilliams-mongo
authored andcommitted
(DOCSP-12332) Clarify replica set connect procedure (#386)
1 parent 57eca5d commit 99ee551

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

source/includes/code-examples/yaml-files/example-replica-set.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -362,9 +362,9 @@ START-horizon-addcert-replset-lower
362362
enabled: true
363363
connectivity:
364364
replicaSetHorizons:
365-
- "example-website": "web1.example.com:27017"
366-
- "example-website": "web2.example.com:27017"
367-
- "example-website": "web3.example.com:27017"
365+
- "example-website": "web1.example.com:30907"
366+
- "example-website": "web2.example.com:32350"
367+
- "example-website": "web3.example.com:31185"
368368
...
369369
END-horizon-addcert-replset-lower
370370

@@ -374,9 +374,9 @@ START-horizon-addcert-replset-random-ports
374374
enabled: true
375375
connectivity:
376376
replicaSetHorizons:
377-
- "example-website": "web1.example.com:10017"
378-
- "example-website": "web2.example.com:10017"
379-
- "example-website": "web3.example.com:10017"
377+
- "example-website": "web1.example.com:30907"
378+
- "example-website": "web2.example.com:32350"
379+
- "example-website": "web3.example.com:31185"
380380
...
381381
END-horizon-addcert-replset-random-ports
382382

source/includes/steps-enable-split-horizon.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,10 @@ optional: true
2020
ref: remove-tls-existing-replicasets
2121
content: |
2222
23-
If the |k8s-op-short| deployed a |tls|\-enabled replica set,
24-
provide the external |dns| names (|san-dns|\s) for each member.
23+
If the |k8s-op-short|-deployed replica set has |tls| enabled and
24+
uses a custom certificate stored with
25+
:setting:`spec.security.tls.ca`,
26+
add each external |dns| name to the certificate |san-dns|.
2527
2628
---
2729
title: "Create a NodePort for each |k8s-pod|."

0 commit comments

Comments
 (0)