Skip to content

Commit dd69385

Browse files
committed
Further domain resource doc
1 parent c78a7af commit dd69385

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs-source/content/userguide/managing-domains/domain-resource.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,3 +94,15 @@ Sub-sections related to the administration server, specific clusters or specific
9494
* `managedServers`: Configuration for specific managed servers.
9595

9696
The elements `serverStartPolicy`, `serverStartState`, `serverPod` and `serverService` are repeated under `adminServer` and under each entry of `clusters` or `managedServers`. The values directly under `spec` set the defaults for the entire domain. The values under a specific entry under `clusters` set the defaults for cluster members of that cluster. The values under `adminServer` or an entry under `managedServers` set the values for that specific server. Values from the domain scope and values from the cluster (for cluster members) are merged with or overridden by the setting for the specific server depending on the element. See the [startup and lifecycle](domain-lifecycle/startup.md) documentation for details about `serverStartPolicy` combination.
97+
98+
### Pod generation
99+
100+
The operator creates a pod for each running WebLogic server instance. This pod will have a container based on the Docker image specified by the `image` field. Additional pod or container content can be specified using the elements under `serverPod`. This includes Kubernetes labels and annotations, additional volumes on the pod or volume mounts on the container, [resource requirements](https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/) or [security context](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/).
101+
102+
Prior to creating a pod, the operator replaces variable references allowing the pod content to be templates. The format of these variable references is `$(VARIABLE_NAME)` where *VARIABLE_NAME* is one of the variable names available in the container for the WebLogic server instance. The default set of environment variables includes:
103+
* DOMAIN_NAME: The WebLogic domain name
104+
* DOMAIN_UID: The domain unique identifier
105+
* DOMAIN_HOME: The domain home location as a file system path within the container
106+
* SERVER_NAME: The WebLogic server name
107+
* CLUSTER_NAME: The WebLogic cluster name, if this is a cluster member
108+
* LOG_HOME: The WebLogic log location as a file system path within the container

0 commit comments

Comments
 (0)