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: |
9494
9595 Use :setting:`spec.statefulSet.spec.serviceName` instead.
9696description : |
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
9898 |k8s-statefulset|. If the service with this name already exists, the
9999 |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|
101101 reuse them.
102102
103103 ---
Original file line number Diff line number Diff line change @@ -29,8 +29,8 @@ and |istio| service mesh.
2929.. note::
3030
3131 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.
3434
3535The beta release of the |multi-clusters| offers you different layers of
3636availability, depending on the needs of your enterprise application. You
@@ -98,7 +98,8 @@ documentation:
9898- |istio| service mesh. This tutorial uses |istio| to facilitate
9999 `DNS resolution <https://istio.io/latest/docs/ops/configuration/traffic-management/dns-proxy/>`__
100100 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.
102103
103104- Documentation from Istio to `Install Multicluster <https://istio.io/latest/docs/setup/install/multicluster/>`__.
104105
Original file line number Diff line number Diff line change @@ -477,9 +477,9 @@ Optional |onprem| Resource Settings
477477 </core/system-overview/#backup-daemon-service>`.
478478
479479 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 .
483483
484484.. opsmgrkube:: spec.backup.statefulSet.spec.template
485485
@@ -1141,9 +1141,10 @@ Optional |onprem| Resource Settings
11411141 for |onprem|.
11421142
11431143 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.
11471148
11481149.. opsmgrkube:: spec.statefulSet.spec.template
11491150
Original file line number Diff line number Diff line change @@ -403,3 +403,30 @@ Examples
403403
404404 .. literalinclude:: /reference/k8s/shardedclusterpodspec.yaml
405405 :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 6565 enabled : true
6666 modes : ["X509"]
6767 internalCluster : " X509"
68+ statefulSet :
69+ spec :
70+ serviceName : my-service
6871 additionalMongodConfig :
6972 net :
7073 ssl :
Original file line number Diff line number Diff line change @@ -105,4 +105,7 @@ spec:
105105 enabled : true
106106 modes : ["X509"]
107107 internalCluster : " X509"
108+ statefulSet :
109+ spec :
110+ serviceName : my-service
108111...
You can’t perform that action at this time.
0 commit comments