You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### Domain and cluster resource attribute references
73
73
74
-
The domain resource `metadata` section names the Domain and its namespace. The name of the Domain is the default value for the `domainUID` which is used by the operator to distinguish domains running in the Kubernetes cluster that may have the same domain name. The Domain name must be unique in the namespace and the `domainUID` should be unique across the cluster. The `domainUID`, Domain resource name, and domain name (from the WebLogic domain configuration) may all be different. Similarly, the cluster resource `metadata` section names the Cluster and its namespace. The `metadata.name` of a cluster resource must be referenced from the `spec.clusters` field of the domain resource. This name does not need to be the same as the name of the WebLogic cluster. The `spec.clusterName` field of the cluster resource must name the WebLogic cluster from the domain configuration.
74
+
The domain resource `metadata` section names the Domain and its namespace. The name of the Domain is the default value for the `domainUID` which is used by the operator to distinguish domains running in the Kubernetes cluster that may have the same domain name. The Domain name must be unique in the namespace and the `domainUID` should be unique across the cluster. The `domainUID`, Domain resource name, and domain name (from the WebLogic domain configuration) may all be different. Similarly, the cluster resource `metadata` section names the Cluster and its namespace. The `metadata.name` of a cluster resource must be referenced from the `spec.clusters` field of the domain resource. This name does not need to be the same as the name of the WebLogic cluster. The `spec.clusterName` field of the cluster resource must name the WebLogic cluster from the domain configuration.
75
75
76
76
The domain resource `spec` section describes the intended running state of the domain, including intended runtime state of WebLogic Server instances, and details about Kubernetes Pod or Service generation, such as resource constraints, scheduling requirements, or volume mounts. The cluster resource `spec` section describes the intended number of member servers of that cluster to run and can set or override the other settings inherited from the domain resource.
77
77
78
78
The operator automatically updates the `status` section of a deployed domain or cluster resource to describe the actual running state, including WebLogic Server instance runtime states and current health.
79
79
80
80
Here are some references you can use for the fields in these sections:
81
81
82
-
- See [Domain spec elements](#domain-spec-elements), [Pod Generation](#pod-generation), and [JVM memory and Java option environment variables](#jvm-memory-and-java-option-environment-variables) in this doc.
82
+
- See [Domain and cluster spec elements](#domain-and-cluster-spec-elements), [Pod Generation](#pod-generation), and [JVM memory and Java option environment variables](#jvm-memory-and-java-option-environment-variables) in this doc.
83
83
- See the Domain Resource [reference document](https://github.com/oracle/weblogic-kubernetes-operator/blob/{{< latestMinorVersion >}}/documentation/domains/Domain.md).
84
84
- See the Cluster Resource [reference document](https://github.com/oracle/weblogic-kubernetes-operator/blob/{{< latestMinorVersion >}}/documentation/domains/Cluster.md).
85
85
- Use [kubectl explain](#using-kubectl-explain) from the command line.
@@ -108,9 +108,11 @@ DESCRIPTION:
108
108
```
109
109
**NOTE**: The `VERSION` field's value may be different, depending on the operator version you are using.
110
110
111
-
### Domain spec elements
111
+
### Domain and cluster spec elements
112
112
113
-
The Domain `spec` section contains elements for configuring the domain operation and sub-sections specific to the Administration Server, specific clusters, or specific Managed Servers.
113
+
The Domain `spec` section contains elements for configuring the domain operation and sub-sections specific to the Administration Server, specific clusters, or specific Managed Servers. The Cluster `spec` section contains elements for configuring the lifecycle options for all of the Managed Server members of a WebLogic cluster, including Java options, environment variables, additional Pod content, and the ability to explicitly start, stop, or restart cluster members.
114
+
115
+
#### Domain spec elements
114
116
115
117
Elements related to domain identification, container image, and domain home:
116
118
@@ -206,8 +208,18 @@ The elements `serverStartPolicy`, `serverPod` and `serverService` are repeated u
206
208
Elements related to the customization of liveness and readiness probes:
207
209
* See [Liveness probe customization]({{< relref "/managing-domains/domain-lifecycle/liveness-readiness-probe-customization#liveness-probe-customization" >}}) for details about the elements related to liveness probe customization and [Readiness probe customization]({{< relref "/managing-domains/domain-lifecycle/liveness-readiness-probe-customization#readiness-probe-customization" >}}) for details about the elements related to readiness probe customization.
208
210
211
+
#### Cluster spec elements
212
+
213
+
For a complete list of the Cluster spec elements, see [Cluster Spec](https://github.com/oracle/weblogic-kubernetes-operator/blob/{{< latestMinorVersion >}}/documentation/domains/Cluster.md#cluster-spec).
214
+
215
+
Additional information for the `clusterService.sessionAffinity` element:
216
+
217
+
*`sessionAffinity`: This is an advanced setting that is applicable only when the `kube-proxy` is running in non-default proxy modes, such as [User space (legacy) proxy mode](https://kubernetes.io/docs/concepts/services-networking/service/#proxy-mode-userspace) and [IPVS proxy mode](https://kubernetes.io/docs/concepts/services-networking/service/#proxy-mode-ipvs). It is used to enable session affinity based on the client's IP addresses. For more information, see the [Virtual IPs and service proxies](https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies). Must be `ClientIP` or `None`. Defaults to `None`.
218
+
219
+
**Note:** This setting is not applicable when the `kube-proxy` is running in the default [`iptables` proxy mode](https://kubernetes.io/docs/concepts/services-networking/service/#proxy-mode-iptables).
220
+
209
221
{{% notice note %}}
210
-
For additional domain resource attribute reference material, see [Domain resource attribute references](#domain-resource-attribute-references).
222
+
For additional domain and cluster resource attribute reference material, see [Domain and cluster resource attribute references](#domain-and-cluster-resource-attribute-references).
211
223
{{% /notice %}}
212
224
213
225
### JVM memory and Java option environment variables
Copy file name to clipboardExpand all lines: documentation/domains/Cluster.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -129,7 +129,7 @@
129
129
"properties": {
130
130
"sessionAffinity": {
131
131
"default": "None",
132
-
"description": "Supports \"ClientIP\" and \"None\". Used to maintain session affinity. Enable client IP based session affinity. Must be ClientIP or None. Defaults to None. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies",
132
+
"description": "Advanced setting to enable client IP based session affinity. Must be ClientIP or None. Defaults to None. More info: https://oracle.github.io/weblogic-kubernetes-operator/managing-domains/domain-resource/#cluster-spec-elements",
Copy file name to clipboardExpand all lines: documentation/domains/Cluster.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,7 @@ The specification of the operation of the WebLogic cluster. Required.
47
47
| --- | --- | --- |
48
48
|`annotations`| Map | The annotations to be added to generated resources. |
49
49
|`labels`| Map | The labels to be added to generated resources. The label names must not start with "weblogic.". |
50
-
|`sessionAffinity`| string |Supports "ClientIP" and "None". Used to maintain session affinity. Enable client IP based session affinity. Must be ClientIP or None. Defaults to None. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies|
50
+
|`sessionAffinity`| string |Advanced setting to enable client IP based session affinity. Must be ClientIP or None. Defaults to None. More info: https://oracle.github.io/weblogic-kubernetes-operator/managing-domains/domain-resource/#cluster-spec-elements|
0 commit comments