Skip to content

Commit 709e718

Browse files
authored
Merge pull request #743 from oracle/sit-cfg-fixes7
Update documented WebLogic domain pre-reqs/considerations.
2 parents 3b29df1 + 04fc7ec commit 709e718

File tree

1 file changed

+27
-7
lines changed

1 file changed

+27
-7
lines changed

site/domains.md

Lines changed: 27 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,33 @@ Perform these steps to prepare your Kubernetes cluster to run a WebLogic domain:
5757
Please be aware of the following important considerations for WebLogic domains
5858
running in Kubernetes.
5959

60-
* Channel listen addresses in a configuration either must be left completely unset (for example, not set to anything), or must be set to the exact required value, which will be in the form of the `domainUID`
61-
followed by a hyphen and then the server name (with all lower case, underscores converted to dashes). For example `domain1-admin-server`. This includes default, SSL, admin, and custom channels.
62-
* If you choose to expose any WebLogic channels outside the Kubernetes cluster, for example, the administration port or a T3 channel to
63-
allow WLST access, you need to ensure that you allocate each channel a unique port number across the entire
64-
Kubernetes cluster. If you expose the administration port in each WebLogic domain in the Kubernetes cluster, then each one must
65-
have a different port. This is required because `NodePorts` are used to expose channels outside the Kubernetes cluster.
66-
* If using a `hostPath` persistent volume, then it must be available on all worker nodes in the cluster and have read/write/many permissions for all container/pods in the WebLogic Server deployment. Be aware
60+
* _Domain Home Location:_ The WebLogic domain home location is determined by the domain resource `domainHome` if set,
61+
and otherwise a default location is determined by the `domainHomeInImage` setting. If a domain resource `domainHome` field is not set
62+
and `domainHomeInImage` is `true` (the default), the operator will
63+
assume that the domain home is a directory under `/u01/oracle/user_projects/domains/` and report an error if no domain is found
64+
or more than one domain is found. If a domain resource `domainHome` field is not set and `domainHomeInImage` is `false`, the operator will
65+
assume that the domain home is `/shared/domains/DOMAIN_UID`.
66+
* _Log File Locations:_ The operator can automatically override Weblogic domain and server log locations using situational
67+
configuration overrides. This occurs if the domain resource `logHomeEnabled` field is explicitly set to `true`, or if `logHomeEnabled` isn't set
68+
and `domainHomeInImage` is explicitly set to `false`. When overriding, the log location will be the location specified by the `logHome` setting.
69+
* _Listen Address Configuration:_ Channel listen addresses in a configuration either must be left completely unset (for example, not set to anything), or must be set to the exact required value, which will be in the form of the `domainUID`
70+
followed by a hyphen and then the server name (with all lower case, underscores converted to dashes). For example `domain1-admin-server`. This includes default, SSL, admin, and custom channels.
71+
* _Listen Address Overrides:_ The operator will automatically override all WebLogic domain default,
72+
SSL, admin, or custom channel listen addresses (using situational configuration overrides). These will become `domainUID` followed by a
73+
hyphen and then the server name, all lower case, and underscores converted to dashes. For example, if `domainUID=domain1` and
74+
the WebLogic server name is `Admin_Server`, then its listen address becomes `domain1-admin-server`.
75+
* _Domain, Cluster, Server, and Network-Access-Point Names:_ WebLogic domain, cluster, server, and network-access-point (channel)
76+
names must contain only the characters `A-Z`, `a-z`, `0-9`, `-`, or `_`. This ensures that they can be converted to
77+
meet Kubernetes resource and DNS1123 naming requirements. (When generating pod and service names, the operator will convert
78+
configured names to lower case and substitute `-` for each `_`.)
79+
* _Node Ports:_ If you choose to expose any WebLogic channels outside the Kubernetes cluster via a `NodePort`, for example, the
80+
administration port or a T3 channel to allow WLST access, you need to ensure that you allocate each channel a
81+
unique port number across the entire Kubernetes cluster. If you expose the administration port in each WebLogic domain in
82+
the Kubernetes cluster, then each one must have a different port. This is required because `NodePorts` are used to
83+
expose channels outside the Kubernetes cluster. **IMPORTANT:** Exposing admin, RMI, or t3 capable channels via a node port
84+
can create an insecure configuration; in general only http protocols should be made available externally and this exposure
85+
is usually accomplished by setting up an external load balancer that can access internal (non-nodeport) services.
86+
* _Host Path Persistent Volumes:_ If using a `hostPath` persistent volume, then it must be available on all worker nodes in the cluster and have read/write/many permissions for all container/pods in the WebLogic Server deployment. Be aware
6787
that many cloud provider's volume providers may not support volumes across availability zones. You may want to use NFS or a clustered file system to work around this limitation.
6888

6989
The following features are not certified or supported in this release:

0 commit comments

Comments
 (0)