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
Copy file name to clipboardExpand all lines: docs-source/content/samples/simple/domains/domain-home-in-image/_index.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ Before you begin, read this document, [Domain resource]({{< relref "/userguide/m
14
14
The following prerequisites must be handled prior to running the create domain script:
15
15
16
16
* The WDT sample requires that `JAVA_HOME` is set to a Java JDK version 1.8 or later.
17
-
* The operator requires WebLogic Server 12.2.1.3.0 with patch 29135930 applied. The existing WebLogic Docker image, `container-registry.oracle.com/middleware/weblogic:12.2.1.3`, has all the necessary patches applied. Refer to [WebLogic Docker images]({{< relref "/userguide/managing-domains/domain-in-image/base-images/_index.md" >}}) for details on how to obtain or create the image.
17
+
* The operator requires either Oracle WebLogic Server 12.2.1.3.0 with patch 29135930 applied, or Oracle WebLogic Server 12.2.1.4.0. The existing WebLogic Docker image, `container-registry.oracle.com/middleware/weblogic:12.2.1.3`, has all the necessary patches applied. Refer to [WebLogic Docker images]({{< relref "/userguide/managing-domains/domain-in-image/base-images/_index.md" >}}) for details on how to obtain or create the image.
18
18
* Create a Kubernetes namespace for the domain unless you intend to use the default namespace.
19
19
* If `logHomeOnPV` is enabled, create the Kubernetes persistent volume where the log home will be hosted, and the Kubernetes persistent volume claim for the domain in the same Kubernates namespace. For samples to create a PV and PVC, see [Create sample PV and PVC]({{< relref "/samples/simple/storage/_index.md" >}}).
20
20
* Create a Kubernetes secret for the WebLogic administrator credentials that contains the fields `username` and `password`, and make sure that the secret name matches the value specified for `weblogicCredentialsSecretName` (see Configuration table below). For example:
The `create-domain.sh` script generates a new Docker image on each run with a new domain home and a different internal `domain secret` in it. To prevent having disparate images with different domain secrets in the same domain, we strongly recommend that a new domain uses a `domainUID` that is different from any of the active domains, or that you delete the existing domain resource using the following command and wait until all the server pods are terminated before you create a domain with the same `domainUID`:
36
+
The `create-domain.sh` script generates a new Docker image on each run with a new domain home and a different internal `domain secret` in it. To prevent having disparate images with different domain secrets in the same domain, we strongly recommend that a new domain uses a `domainUID` that is different from any of the active domains, or that you delete the existing domain resource using the following command and wait until all the server pods are terminated before you create a domain with the same `domainUID`:
@@ -43,7 +43,7 @@ The sample for creating domains is in this directory:
43
43
$ cd kubernetes/samples/scripts/create-weblogic-domain/domain-home-in-image
44
44
```
45
45
46
-
Make a copy of the `create-domain-inputs.yaml` file, update it with the correct values,
46
+
Make a copy of the `create-domain-inputs.yaml` file, update it with the correct values,
47
47
and run the create script, pointing it at your inputs file and an output directory:
48
48
49
49
```
@@ -136,7 +136,7 @@ The following parameters can be provided in the inputs file.
136
136
|`adminServerName`| Name of the Administration Server. |`admin-server`|
137
137
|`clusterName`| Name of the WebLogic cluster instance to generate for the domain. |`cluster-1`|
138
138
|`configuredManagedServerCount`| Number of Managed Server instances to generate for the domain. |`5`|
139
-
|`domainHomeImageBase`| Base WebLogic binary image used to build the WebLogic domain image. The operator requires WebLogic Server 12.2.1.3.0 with patch 29135930 applied. The existing WebLogic Docker image, `container-registry.oracle.com/middleware/weblogic:12.2.1.3`, has all the necessary patches applied. Refer to [WebLogic Docker images]({{< relref "/userguide/managing-domains/domain-in-image/base-images/_index.md" >}}) for details on how to obtain or create the image. |`container-registry.oracle.com/middleware/weblogic:12.2.1.3`|
139
+
|`domainHomeImageBase`| Base WebLogic binary image used to build the WebLogic domain image. The operator requires either Oracle WebLogic Server 12.2.1.3.0 with patch 29135930 applied, or Oracle WebLogic Server 12.2.1.4.0. The existing WebLogic Docker image, `container-registry.oracle.com/middleware/weblogic:12.2.1.3`, has all the necessary patches applied. Refer to [WebLogic Docker images]({{< relref "/userguide/managing-domains/domain-in-image/base-images/_index.md" >}}) for details on how to obtain or create the image. |`container-registry.oracle.com/middleware/weblogic:12.2.1.3`|
140
140
|`domainHomeImageBuildPath`| Location of the WebLogic "domain home in image" Docker image in the `https://github.com/oracle/docker-images.git` project. If not specified, use "./docker-images/OracleWebLogic/samples/12213-domain-home-in-image". Another possible value is "./docker-images/OracleWebLogic/samples/12213-domain-home-in-image-wdt" which uses WDT, instead of WLST, to generate the domain configuration. |`./docker-images/OracleWebLogic/samples/12213-domain-home-in-image`|
141
141
|`domainPVMountPath`| Mount path of the domain persistent volume. This parameter is required if `logHomeOnPV` is true. Otherwise, it is ignored. |`/shared`|
142
142
|`domainUID`| Unique ID that will be used to identify this particular domain. Used as the name of the generated WebLogic domain as well as the name of the Kubernetes domain resource. This ID must be unique across all domains in a Kubernetes cluster. This ID cannot contain any character that is not valid in a Kubernetes service name. |`domain1`|
Copy file name to clipboardExpand all lines: docs-source/content/samples/simple/domains/domain-home-on-pv/_index.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ Before you begin, read this document, [Domain resource]({{< relref "/userguide/m
15
15
The following prerequisites must be handled prior to running the create domain script:
16
16
17
17
* Make sure the WebLogic Kubernetes Operator is running.
18
-
* The operator requires WebLogic Server 12.2.1.3.0 with patch 29135930 applied. The existing WebLogic Docker image, `container-registry.oracle.com/middleware/weblogic:12.2.1.3`, has all the necessary patches applied. Refer to [WebLogic Docker images]({{< relref "/userguide/managing-domains/domain-in-image/base-images/_index.md" >}}) for details on how to obtain or create the image.
18
+
* The operator requires either Oracle WebLogic Server 12.2.1.3.0 with patch 29135930 applied, or Oracle WebLogic Server 12.2.1.4.0. The existing WebLogic Docker image, `container-registry.oracle.com/middleware/weblogic:12.2.1.3`, has all the necessary patches applied. Refer to [WebLogic Docker images]({{< relref "/userguide/managing-domains/domain-in-image/base-images/_index.md" >}}) for details on how to obtain or create the image.
19
19
* Create a Kubernetes namespace for the domain unless you intend to use the default namespace.
20
20
* In the same Kubernetes namespace, create the Kubernetes persistent volume (PV) where the domain home will be hosted, and the Kubernetes persistent volume claim (PVC) for the domain. For samples to create a PV and PVC, see [Create sample PV and PVC]({{< relref "/samples/simple/storage/_index.md" >}}). By default, the `create-domain.sh` script creates a domain with the `domainUID` set to `domain1` and expects the PVC `domain1-weblogic-sample-pvc` to be present. You can create `domain1-weblogic-sample-pvc` using [create-pv-pvc.sh](https://github.com/oracle/weblogic-kubernetes-operator/blob/master/kubernetes/samples/scripts/create-weblogic-domain-pv-pvc/create-pv-pvc.sh) with an inputs file that has the `domainUID` set to `domain1`.
21
21
* Create the Kubernetes secrets `username` and `password` of the administrative account in the same Kubernetes namespace as the domain.
@@ -33,11 +33,11 @@ Many storage providers will create a file system on
33
33
the persistent volume which is owned by the `root` user. In those cases, you will need to update the
34
34
file permissions and/or ownership so that the `oracle` user (`uid 1000`) that is used in the standard
35
35
WebLogic Server Docker images can write to the file system in the persistent volume.
36
-
36
+
37
37
This sample will automatically set the owner of all files on the persistent
38
38
volume to `uid 1000`. If you want to change that behavior, please edit `kubernetes/samples/scripts/create-weblogic-domain/domain-home-on-pv/create-domain-job-template.yaml` and edit or remove the
39
39
`initContainer` section.
40
-
40
+
41
41
In some variants of Kubernetes (for example OpenShift) you may also need to configure your pods
42
42
to run with user 1000 to make sure that the WebLogic processes can access the file system on the
43
43
persistent volume.
@@ -111,7 +111,7 @@ The following parameters can be provided in the inputs file.
111
111
|`domainUID`| Unique ID that will be used to identify this particular domain. Used as the name of the generated WebLogic domain as well as the name of the Kubernetes domain resource. This ID must be unique across all domains in a Kubernetes cluster. This ID cannot contain any character that is not valid in a Kubernetes service name. |`domain1`|
112
112
|`exposeAdminNodePort`| Boolean indicating if the Administration Server is exposed outside of the Kubernetes cluster. |`false`|
113
113
|`exposeAdminT3Channel`| Boolean indicating if the T3 administrative channel is exposed outside the Kubernetes cluster. |`false`|
114
-
|`image`| WebLogic Docker image. The operator requires WebLogic Server 12.2.1.3.0 with patch 29135930 applied. The existing WebLogic Docker image, `container-registry.oracle.com/middleware/weblogic:12.2.1.3`, has all the necessary patches applied. Refer to [WebLogic Docker images]({{< relref "/userguide/managing-domains/domain-in-image/base-images/_index.md" >}}) for details on how to obtain or create the image. |`container-registry.oracle.com/middleware/weblogic:12.2.1.3`|
114
+
|`image`| WebLogic Docker image. The operator requires either Oracle WebLogic Server 12.2.1.3.0 with patch 29135930 applied, or Oracle WebLogic Server 12.2.1.4.0. The existing WebLogic Docker image, `container-registry.oracle.com/middleware/weblogic:12.2.1.3`, has all the necessary patches applied. Refer to [WebLogic Docker images]({{< relref "/userguide/managing-domains/domain-in-image/base-images/_index.md" >}}) for details on how to obtain or create the image. |`container-registry.oracle.com/middleware/weblogic:12.2.1.3`|
115
115
|`imagePullPolicy`| WebLogic Docker image pull policy. Legal values are `IfNotPresent`, `Always`, or `Never`|`IfNotPresent`|
116
116
|`imagePullSecretName`| Name of the Kubernetes secret to access the Docker Store to pull the WebLogic Server Docker image. The presence of the secret will be validated when this parameter is specified ||
117
117
|`includeServerOutInPodLog`| Boolean indicating whether to include the server .out to the pod's stdout. |`true`|
* Docker 18.9.1 (check with `docker version`) *or* CRI-O 1.14.7 (check with `crictl version | grep RuntimeVersion`).
22
22
* Helm 2.14.3+ (check with `helm version`).
23
-
* Oracle WebLogic Server 12.2.1.3.0 with patch 29135930.
23
+
*Either Oracle WebLogic Server 12.2.1.3.0 with patch 29135930, or Oracle WebLogic Server 12.2.1.4.0.
24
24
* The existing WebLogic Docker image, `container-registry.oracle.com/middleware/weblogic:12.2.1.3 `,
25
25
has all the necessary patches applied.
26
26
* Check the WLS version with `docker run container-registry.oracle.com/middleware/weblogic:12.2.1.3 sh -c``'source $ORACLE_HOME/wlserver/server/bin/setWLSEnv.sh > /dev/null 2>&1 && java weblogic.version'`.
0 commit comments