Skip to content

Commit a02cff4

Browse files
authored
Merge pull request #1307 from erabil-mdb/DOCSP-28733
(DOCSP-28733) Docs cleanup for multi-clusters.
2 parents f33ff28 + 168257d commit a02cff4

16 files changed

+536
-228
lines changed

source/includes/facts/fact-istio.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
We offer the :github:`install_istio_separate_network example script
1+
In addition, we offer the :github:`install_istio_separate_network example script
22
</mongodb/mongodb-enterprise-kubernetes/blob/master/tools/multicluster/install_istio_separate_network.sh>`.
33
This script is based on Istio documentation and provides an example installation
44
that uses the `multi-primary mode on different networks <https://istio.io/latest/docs/setup/install/multicluster/multi-primary_multi-network/>`__.

source/includes/options-k8s-replica-set.yaml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -829,4 +829,35 @@ inherit:
829829
name: spec.security.tls.additionalCertificateDomains
830830
program: _shared
831831
file: options-k8s-shared.yaml
832+
833+
---
834+
program: k8sRsConf
835+
name: spec.clusterSpecList.memberConfig.priority
836+
type: string
837+
directive: setting
838+
optional: true
839+
description: |
840+
Number that indicates the relative eligibility of a MongoDB replica set member to become a `primary <https://www.mongodb.com/docs/manual/reference/glossary/#std-term-primary>`__.
841+
842+
Specify a higher value to make a member more eligible to become primary, and lower values to make the member less eligible. For example, a member with a ``spec.clusterSpecList.memberConfig.priority`` of ``"1.5"`` is more likely than ``"0.5"`` to become a primary. A priority of ``"0"`` is ineligible to become primary. For more details, see `Member Priority <https://www.mongodb.com/docs/manual/core/replica-set-elections/#voting-members>`__.
843+
844+
---
845+
program: k8sRsConf
846+
name: spec.clusterSpecList.memberConfig.tags
847+
type: map
848+
directive: setting
849+
optional: true
850+
description: |
851+
Map of :manual:`replica set tags </tutorial/configure-replica-set-tag-sets/>` for directing
852+
read and write operations to specific members of your MongoDB replica set.
853+
854+
---
855+
program: k8sRsConf
856+
name: spec.clusterSpecList.memberConfig.votes
857+
type: number
858+
directive: setting
859+
optional: true
860+
description: |
861+
Determines whether a MongoDB replica set member can vote in an :manual:`election </core/replica-set-elections/#voting-members>`. Set to ``1`` to allow the member to vote. Set to ``0`` to exclude the member from an election.
862+
832863
...
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
stepnum: 1
3+
ref: edit-k8s-specs-db
4+
source:
5+
file: steps-source-deploy-k8s-resource.yaml
6+
ref: edit-k8s-specs
7+
8+
---
9+
stepnum: 2
10+
ref: modify-specs-db
11+
source:
12+
file: steps-source-deploy-k8s-resource.yaml
13+
ref: modify-specs
14+
15+
---
16+
stepnum: 3
17+
ref: save-specs-db
18+
source:
19+
file: steps-source-deploy-k8s-resource.yaml
20+
ref: save-specs
21+
22+
---
23+
stepnum: 4
24+
ref: apply-changes-db
25+
source:
26+
file: steps-source-deploy-k8s-resource.yaml
27+
ref: apply-changes
28+
29+
...
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
stepnum: 1
3+
level: 4
4+
ref: edit-multi-cluster-specs
5+
inherit:
6+
file: steps-multi-cluster-source.yaml
7+
ref: edit-mc-specs
8+
9+
---
10+
stepnum: 2
11+
level: 4
12+
ref: modify-multi-cluster-specs
13+
inherit:
14+
file: steps-multi-cluster-source.yaml
15+
ref: modify-mc-specs
16+
17+
---
18+
stepnum: 3
19+
level: 4
20+
ref: save-mc-specs
21+
inherit:
22+
file: steps-source-deploy-k8s-resource.yaml
23+
ref: save-specs
24+
25+
---
26+
stepnum: 4
27+
level: 4
28+
ref: apply-k8s-mc-changes
29+
inherit:
30+
file: steps-source-deploy-k8s-resource.yaml
31+
ref: apply-k8s-changes
32+
33+
...
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
stepnum: 1
3+
level: 4
4+
ref: set-up-gcloud-mc
5+
inherit:
6+
file: steps-multi-cluster-source.yaml
7+
ref: set-up-gcloud
8+
9+
---
10+
stepnum: 2
11+
level: 4
12+
ref: create-mc-clusters-prereq
13+
inherit:
14+
file: steps-multi-cluster-source.yaml
15+
ref: create-mc-clusters
16+
17+
...

0 commit comments

Comments
 (0)