File tree Expand file tree Collapse file tree 6 files changed +46
-11
lines changed Expand file tree Collapse file tree 6 files changed +46
-11
lines changed Original file line number Diff line number Diff line change @@ -94,10 +94,10 @@ pre: |
94
94
95
95
Use :setting:`spec.statefulSet.spec.serviceName` instead.
96
96
description : |
97
- Name of |k8s| service to be created or used for a
97
+ Name of the |k8s| service to be created or used for a
98
98
|k8s-statefulset|. If the service with this name already exists, the
99
99
|k8s-op-full| does not delete or recreate it. This setting lets
100
- users create their custom services and lets the |k8s-op-short|
100
+ you create your own custom services and lets the |k8s-op-short|
101
101
reuse them.
102
102
103
103
---
Original file line number Diff line number Diff line change @@ -29,8 +29,8 @@ and |istio| service mesh.
29
29
.. note::
30
30
31
31
The procedure in this Quick Start relies on Istio, but you can use
32
- another service mesh solution as long as you ensure that cross-cluster
33
- service FQDNs are resolvable.
32
+ another service mesh or solution as long as you ensure that
33
+ cross-cluster service FQDNs are resolvable.
34
34
35
35
The beta release of the |multi-clusters| offers you different layers of
36
36
availability, depending on the needs of your enterprise application. You
@@ -98,7 +98,8 @@ documentation:
98
98
- |istio| service mesh. This tutorial uses |istio| to facilitate
99
99
`DNS resolution <https://istio.io/latest/docs/ops/configuration/traffic-management/dns-proxy/>`__
100
100
for MongoDB replica sets deployed in different |k8s| clusters. You can
101
- use another service mesh solution.
101
+ use another service mesh or solution as long as you ensure that
102
+ cross-cluster service FQDNs are resolvable.
102
103
103
104
- Documentation from Istio to `Install Multicluster <https://istio.io/latest/docs/setup/install/multicluster/>`__.
104
105
Original file line number Diff line number Diff line change @@ -477,9 +477,9 @@ Optional |onprem| Resource Settings
477
477
</core/system-overview/#backup-daemon-service>`.
478
478
479
479
To review which fields you can add to
480
- :opsmgrkube:`spec.backup.statefulSet.spec`, see the
481
- :k8sdocs:`Kubernetes documentation
482
- </reference/generated/kubernetes-api/{+k8s-api-version+}/#statefulsetspec-v1-apps>`.
480
+ :opsmgrkube:`spec.backup.statefulSet.spec`, see
481
+ :k8sdocs:`StatefulSetSpec v1 apps
482
+ </reference/generated/kubernetes-api/{+k8s-api-version+}/#statefulsetspec-v1-apps>` in the |k8s| documentation .
483
483
484
484
.. opsmgrkube:: spec.backup.statefulSet.spec.template
485
485
@@ -1141,9 +1141,10 @@ Optional |onprem| Resource Settings
1141
1141
for |onprem|.
1142
1142
1143
1143
To review which fields you can add to
1144
- :opsmgrkube:`spec.statefulSet.spec`, see the
1145
- :k8sdocs:`Kubernetes documentation
1146
- </reference/generated/kubernetes-api/{+k8s-api-version+}/#statefulsetspec-v1-apps>`.
1144
+ :opsmgrkube:`spec.statefulSet.spec`, see
1145
+ :k8sdocs:`StatefulSetSpec v1 apps
1146
+ </reference/generated/kubernetes-api/{+k8s-api-version+}/#statefulsetspec-v1-apps>`
1147
+ in the |k8s| documentation.
1147
1148
1148
1149
.. opsmgrkube:: spec.statefulSet.spec.template
1149
1150
Original file line number Diff line number Diff line change @@ -403,3 +403,30 @@ Examples
403
403
404
404
.. literalinclude:: /reference/k8s/shardedclusterpodspec.yaml
405
405
:language: yaml
406
+
407
+ .. _statefulset-settings:
408
+
409
+ StatefulSet Settings
410
+ --------------------
411
+
412
+ The following |k8s-statefulsets| settings apply only to replica set and
413
+ sharded cluster resource types.
414
+
415
+ .. setting:: spec.statefulSet.spec
416
+
417
+ *Type*: collection
418
+
419
+ Specification for the |k8s-statefulset| that the |k8s-op| creates
420
+ for |k8s-mdbrscs|.
421
+
422
+ .. setting:: spec.statefulSet.spec.serviceName
423
+
424
+ *Type*: string
425
+
426
+ *Default*: ``<resource_name>-svc`` and ``<resource_name>-svc-external``
427
+
428
+ Name of the |k8s| service to be created or used for a
429
+ |k8s-statefulset|. If the service with this name already exists, the
430
+ |k8s-op-full| does not delete or recreate it. This setting lets
431
+ you create your own custom services and lets the |k8s-op-short|
432
+ reuse them.
Original file line number Diff line number Diff line change 65
65
enabled : true
66
66
modes : ["X509"]
67
67
internalCluster : " X509"
68
+ statefulSet :
69
+ spec :
70
+ serviceName : my-service
68
71
additionalMongodConfig :
69
72
net :
70
73
ssl :
Original file line number Diff line number Diff line change @@ -105,4 +105,7 @@ spec:
105
105
enabled : true
106
106
modes : ["X509"]
107
107
internalCluster : " X509"
108
+ statefulSet :
109
+ spec :
110
+ serviceName : my-service
108
111
...
You can’t perform that action at this time.
0 commit comments