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: kubernetes/samples/scripts/create-weblogic-domain/domain-home-in-image/README.md
+4-5Lines changed: 4 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,10 +6,9 @@ The sample scripts demonstrate the creation of a WebLogic domain home in a Docke
6
6
7
7
The following prerequisites must be handled prior to running the create domain script:
8
8
* Make sure the WebLogic operator is running.
9
-
* The operator requires WebLogic Server 12.2.1.3.0 with patch 28076014 applied. Refer to [Weblogic docker images](../../../../../site/weblogic-docker-images.md) for details on how to create one.
9
+
* The operator requires WebLogic Server 12.2.1.3.0 with patch 28076014 applied. Refer to [Weblogic Docker images](../../../../../site/weblogic-docker-images.md) for details on how to create one. If a different `domainHomeImageBase` (see Configuration table below) is specified, the specified image needs to be built locally or pulled from a repository.
10
10
* Create a Kubernetes namespace for the domain unless the intention is to use the default namespace.
11
11
* Create the Kubernetes secrets `username` and `password` of the admin account in the same Kubernetes namespace as the domain.
12
-
* Build the Oracle WebLogic image `oracle/weblogic:12.2.1.3-developer`. Refer to [Oracle WebLogic Server on Docker](https://github.com/oracle/docker-images/tree/master/OracleWebLogic/dockerfiles/12.2.1.3). If a different `baseImage` (see Configuration table below) is specified, the specified image needs to be built locally or pulled from a repository.
13
12
14
13
## Use the script to create a domain
15
14
@@ -71,15 +70,15 @@ The following parameters can be provided in the inputs file.
71
70
|`adminPort`| Port number for the Administration Server inside the Kubernetes cluster. |`7001`|
72
71
|`adminNodePort`| Port number of the Administration Server outside the Kubernetes cluster. |`30701`|
73
72
|`adminServerName`| Name of the Administration Server. |`admin-server`|
74
-
|`baseImage`| The image that is used to build the domain-home-in-image Docker image. If not specified, use the built-in base image `oracle/weblogic:12.2.1.3-developer`. The image specified here needs to be built locally or pulled from a repository before the `create-domain.sh` script is executed. |`oracle/weblogic:12.2.1.3-developer`|
75
73
|`clusterName`| Name of the WebLogic cluster instance to generate for the domain. |`cluster-1`|
76
74
|`clusterType`| Type of the WebLogic Cluster. Legal values are `CONFIGURED` or `DYNAMIC`. |`DYNAMIC`|
77
75
|`configuredManagedServerCount`| Number of Managed Server instances to generate for the domain. |`2`|
76
+
|`domainHomeImageBase`| WebLogic binary image used to build the WebLogic domain image. The operator requires WebLogic Server 12.2.1.3.0 with patch 28076014 applied. Refer to [Weblogic Docker images](../../../../../site/weblogic-docker-images.md) for details on how to create one. If a different `domainHomeImageBase` (see Configuration table below) is specified, the specified image needs to be built locally or pulled from a repository before the `create-domain.sh` script is executed. ||
77
+
|`domainHomeImageBuildPath`| Location of the WebLogic "domain home in image" Docker image in `https://github.com/oracle/docker-images.git` project. If not specified, use "./docker-images/OracleWebLogic/samples/12213-domain-home-in-image-wdt". Another possible value is "./docker-images/OracleWebLogic/samples/12213-domain-home-in-image" whichuses WLST script, instead of WDT, to generate the domain configuration. |`./docker-images/OracleWebLogic/samples/12213-domain-home-in-image-wdt`|
78
78
|`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`|
79
79
|`exposeAdminNodePort`| Boolean indicating if the Administration Server is exposed outside of the Kubernetes cluster. |`false`|
80
80
|`exposeAdminT3Channel`| Boolean indicating if the T3 administrative channel is exposed outside the Kubernetes cluster. |`false`|
81
-
|`image`| WebLogic Docker image that the domain resource will use. If not specified, the value is the name of the generated Docker image. |`12213-domain-home-in-image-wdt`|
82
-
|`imagePath`| The relative directory of the WebLogic domain home in image Docker image in `https://github.com/oracle/docker-images.git` project under the `docker-images/OracleWebLogic/samples` directory. |`12213-domain-home-in-image-wdt`|
81
+
|`image`| WebLogic Docker image that the domain resource will pull if needed. You only need to specify this if you are going to push the generated image from the local Docker repository to another Docker repository. If not specified, will use the internally generated image name, say "domain-home-in-image-wlst:latest" or "domain-home-in-image-wdt:latest". ||
83
82
|`imagePullPolicy`| WebLogic Docker image pull policy. Legal values are "IfNotPresent", "Always", or "Never" |`IfNotPresent`|
84
83
|`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 ||
85
84
|`includeServerOutInPodLog`| Boolean indicating whether to include server .out to the pod's stdout. |`true`|
Copy file name to clipboardExpand all lines: kubernetes/samples/scripts/create-weblogic-domain/domain-home-on-pv/README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ Before you begin, read this guide, [Domain Resource](../../../../../site/domain-
8
8
9
9
The following prerequisites must be handled prior to running the create domain script:
10
10
* Make sure the WebLogic operator is running.
11
-
* The operator requires WebLogic Server 12.2.1.3.0 with patch 28076014 applied. Refer to [Weblogic docker images](../../../../../site/weblogic-docker-images.md) for details on how to create one.
11
+
* The operator requires WebLogic Server 12.2.1.3.0 with patch 28076014 applied. Refer to [Weblogic Docker images](../../../../../site/weblogic-docker-images.md) for details on how to create one.
12
12
* Create a Kubernetes namespace for the domain unless the intention is to use the default namespace.
13
13
* In the same Kubernetes namespace, create the Kubernetes persistent volume where the domain home will be hosted, and the Kubernetes persistent volume claim for the domain. For samples to create a PV and PVC, see [Create sample PV and PVC](../../create-weblogic-domain-pv-pvc/README.md).
14
14
* Create the Kubernetes secrets `username` and `password` of the admin account in the same Kubernetes namespace as the domain.
@@ -83,7 +83,7 @@ The following parameters can be provided in the inputs file.
83
83
|`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`|
84
84
|`exposeAdminNodePort`| Boolean indicating if the Administration Server is exposed outside of the Kubernetes cluster. |`false`|
85
85
|`exposeAdminT3Channel`| Boolean indicating if the T3 administrative channel is exposed outside the Kubernetes cluster. |`false`|
|`image`| WebLogic Docker image. The operator requires WebLogic Server 12.2.1.3.0 with patch 28076014 applied. Refer to [Weblogic Docker images](../../../../../site/weblogic-docker-images.md) for details on how to create one. ||
87
87
|`imagePullPolicy`| WebLogic Docker image pull policy. Legal values are "IfNotPresent", "Always", or "Never" |`IfNotPresent`|
88
88
|`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 ||
89
89
|`includeServerOutInPodLog`| Boolean indicating whether to include server .out to the pod's stdout. |`true`|
0 commit comments