File tree Expand file tree Collapse file tree 11 files changed +86
-11
lines changed Expand file tree Collapse file tree 11 files changed +86
-11
lines changed Original file line number Diff line number Diff line change 1
1
.. warning ::
2
2
3
- You must set :setting: `spec.clusterName ` if your |k8s | cluster has a
4
- :k8sdocs: `default domain </concepts/services-networking/dns-pod-service#what-things-get-dns-names> `
5
- different from default ``cluster.local ``. If you neither use the
6
- default nor set this option, the |k8s-op-short | may not function as
7
- expected.
3
+ You must set :setting: `spec.clusterDomain ` if your |k8s | cluster has
4
+ a :k8sdocs: `default domain
5
+ </concepts/services-networking/dns-pod-service#what-things-get-dns-names> `
6
+ other than the default ``cluster.local ``. If you neither use the
7
+ default nor set the :setting: `spec.clusterDomain ` option, the
8
+ |k8s-op-short | might not function as expected.
Original file line number Diff line number Diff line change @@ -76,6 +76,18 @@ inherit:
76
76
program : _shared
77
77
file : options-k8s-shared.yaml
78
78
79
+ ---
80
+ program : k8sRsConf
81
+ name : spec.clusterDomain
82
+ type : string
83
+ directive : setting
84
+ optional : true
85
+ default : cluster.local
86
+ inherit :
87
+ name : spec.clusterDomain
88
+ program : _shared
89
+ file : options-k8s-shared.yaml
90
+
79
91
---
80
92
program : k8sRsConf
81
93
name : spec.clusterName
@@ -87,6 +99,7 @@ inherit:
87
99
name : spec.clusterName
88
100
program : _shared
89
101
file : options-k8s-shared.yaml
102
+
90
103
---
91
104
program : k8sRsConf
92
105
name : spec.credentials
Original file line number Diff line number Diff line change @@ -92,13 +92,36 @@ description: |
92
92
users to create their custom services and lets the Operator reuse
93
93
them.
94
94
95
+ ---
96
+ program : _shared
97
+ name : spec.clusterDomain
98
+ type : string
99
+ directive : setting
100
+ optional : true
101
+ default : cluster.local
102
+ description : |
103
+
104
+ Domain name of the |k8s| cluster where you deploy the Operator. When
105
+ |k8s| creates a |k8s-statefulset|, the |k8s| assigns each |k8s-pod| a
106
+ |fqdn|. To update |com|, the |k8s-op-short| calculates the |fqdn| for
107
+ each |k8s-pod| using a provided cluster name. |k8s| doesn't provide
108
+ an |api| to query these hostnames.
109
+
110
+ .. include:: /includes/admonitions/warning-set-cluster-name.rst
111
+
95
112
---
96
113
program : _shared
97
114
name : spec.clusterName
98
115
type : string
99
116
directive : setting
100
117
optional : true
101
118
default : cluster.local
119
+ pre : |
120
+
121
+ .. admonition:: ``spec.clusterName`` is Deprecated
122
+ :class: important
123
+
124
+ Use :setting:`spec.clusterDomain` instead.
102
125
description : |
103
126
104
127
Domain name of the |k8s| cluster where you deploy the Operator. When
Original file line number Diff line number Diff line change @@ -103,6 +103,18 @@ inherit:
103
103
program : _shared
104
104
file : options-k8s-shared.yaml
105
105
106
+ ---
107
+ program : k8sScConf
108
+ name : spec.clusterDomain
109
+ type : string
110
+ directive : setting
111
+ optional : true
112
+ default : cluster.local
113
+ inherit :
114
+ name : spec.clusterDomain
115
+ program : _shared
116
+ file : options-k8s-shared.yaml
117
+
106
118
---
107
119
program : k8sScConf
108
120
name : spec.clusterName
@@ -114,6 +126,7 @@ inherit:
114
126
name : spec.clusterName
115
127
program : _shared
116
128
file : options-k8s-shared.yaml
129
+
117
130
---
118
131
program : k8sScConf
119
132
name : spec.credentials
Original file line number Diff line number Diff line change @@ -90,6 +90,18 @@ inherit:
90
90
program : _shared
91
91
file : options-k8s-shared.yaml
92
92
93
+ ---
94
+ program : k8sSaConf
95
+ name : spec.clusterDomain
96
+ type : string
97
+ directive : setting
98
+ optional : true
99
+ default : cluster.local
100
+ inherit :
101
+ name : spec.clusterDomain
102
+ program : _shared
103
+ file : options-k8s-shared.yaml
104
+
93
105
---
94
106
program : k8sSaConf
95
107
name : spec.clusterName
Original file line number Diff line number Diff line change @@ -251,7 +251,7 @@ content: |
251
251
You can add any of the following optional settings to the
252
252
|k8s-obj| specification file for an |onprem| deployment:
253
253
254
- - ``spec.``:opsmgrkube:`~spec.clusterName `
254
+ - ``spec.``:opsmgrkube:`~spec.clusterDomain `
255
255
- ``spec.``:opsmgrkube:`~spec.configuration`
256
256
- ``spec.applicationDatabase.``:setting:`~spec.logLevel`
257
257
- ``spec.applicationDatabase.``:setting:`~spec.featureCompatibilityVersion`
Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ content: |
138
138
You can also add any of the following optional settings to the
139
139
|k8s-obj| specification file for a {{k8sResource}} deployment:
140
140
141
- - :setting:`spec.clusterName `
141
+ - :setting:`spec.clusterDomain `
142
142
- :setting:`spec.featureCompatibilityVersion`
143
143
- :setting:`spec.logLevel`
144
144
- :setting:`spec.podSpec.cpu`
@@ -165,7 +165,7 @@ content: |
165
165
|k8s-obj| specification file for a :term:`sharded cluster`
166
166
deployment:
167
167
168
- - :setting:`spec.clusterName `
168
+ - :setting:`spec.clusterDomain `
169
169
- :setting:`spec.exposedExternally`
170
170
- :setting:`spec.logLevel`
171
171
- :setting:`spec.featureCompatibilityVersion`
Original file line number Diff line number Diff line change @@ -351,11 +351,23 @@ Optional |onprem| Resource Settings
351
351
*Required if you enable Backup.*
352
352
353
353
Name of the |aws| |s3| bucket or |s3|-compatible bucket that hosts
354
- the snapshot store.
354
+ the snapshot store.
355
355
356
+ .. opsmgrkube:: spec.clusterDomain
357
+
358
+ *Type*: string
359
+
360
+ |k8s| assigns each |k8s-pod| a |fqdn|. The |k8s-op-short| calculates
361
+ the |fqdn| for each |k8s-pod| using a provided ``clusterDomain``.
362
+ |k8s| does not provide an |api| to query these hostnames.
356
363
357
364
.. opsmgrkube:: spec.clusterName
358
365
366
+ .. admonition:: ``spec.clusterName`` is Deprecated
367
+ :class: important
368
+
369
+ Use :setting:`spec.clusterDomain` instead.
370
+
359
371
*Type*: string
360
372
361
373
|k8s| assigns each |k8s-pod| a |fqdn|. The |k8s-op-short| calculates
Original file line number Diff line number Diff line change @@ -85,6 +85,7 @@ Optional
85
85
Every resource type may use the following settings:
86
86
87
87
.. include:: /includes/option/setting-k8sSaConf-spec.featureCompatibilityVersion.rst
88
+ .. include:: /includes/option/setting-k8sSaConf-spec.clusterDomain.rst
88
89
.. include:: /includes/option/setting-k8sSaConf-spec.clusterName.rst
89
90
.. include:: /includes/option/setting-k8sSaConf-spec.service.rst
90
91
.. include:: /includes/option/setting-k8sSaConf-spec.logLevel.rst
Original file line number Diff line number Diff line change 15
15
# # Please Note: The default Kubernetes cluster name is
16
16
# # `cluster.local`.
17
17
# # If your cluster has been configured with another name, you can
18
- # # specify it with the `clusterName ` attribute.
18
+ # # specify it with the `clusterDomain ` attribute.
19
19
20
20
opsManager : # Alias of cloudManager
21
21
configMapRef :
You can’t perform that action at this time.
0 commit comments