Skip to content

Commit 9f4b5df

Browse files
authored
Merge pull request #810 from oracle/updateImage
update patched image info
2 parents 95058ad + d2d8a15 commit 9f4b5df

File tree

4 files changed

+30
-23
lines changed

4 files changed

+30
-23
lines changed

kubernetes/samples/scripts/create-weblogic-domain/domain-home-in-image/create-domain-inputs.yaml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ adminPort: 7001
1111
adminServerName: admin-server
1212

1313
# Unique ID identifying a domain.
14-
# This ID must not contain an underscope ("_"), and must be lowercase and unique across all domains
14+
# This ID must not contain an underscope ("_"), and must be lowercase and unique across all domains
1515
# in a Kubernetes cluster.
1616
domainUID: domain1
1717

@@ -52,7 +52,7 @@ productionModeEnabled: true
5252
# to be used in a registry local to that Kubernetes cluster. You also need to push the `image` to
5353
# that registry before starting the domain using the `kubectl create -f` or `kubectl apply -f` command.
5454
# See README.md for more help.
55-
#image:
55+
#image:
5656

5757
# Image pull policy
5858
# Legal values are "IfNotPresent", "Always", or "Never"
@@ -63,7 +63,7 @@ imagePullPolicy: IfNotPresent
6363
#imagePullSecretName:
6464

6565
# Name of the Kubernetes secret for the Admin Server's username and password
66-
# The name must be lowercase.
66+
# The name must be lowercase.
6767
# If not specified, the value is derived from the domainUID as <domainUID>-weblogic-credentials
6868
weblogicCredentialsSecretName: domain1-weblogic-credentials
6969

@@ -107,25 +107,27 @@ namespace: default
107107
# Java Option for WebLogic Server
108108
javaOptions: -Dweblogic.StdoutDebugEnabled=false
109109

110-
# Name of the persistent volume claim
110+
# Name of the persistent volume claim
111111
# If not specified, the value is derived from the domainUID as <domainUID>-weblogic-sample-pvc
112112
# This parameter is required if 'logHomeOnPV' is true.
113113
# Otherwise, it is ignored.
114114
persistentVolumeClaimName: domain1-weblogic-sample-pvc
115115

116-
# Mount path of the domain persistent volume.
116+
# Mount path of the domain persistent volume.
117117
# This parameter is required if 'logHomeOnPV' is true.
118118
# Otherwise, it is ignored.
119119
domainPVMountPath: /shared
120120

121121
# Base WebLogic binary image used to build the WebLogic domain image
122122
# The operator requires WebLogic Server 12.2.1.3.0 with patch 29135930 applied.
123+
# The existing WebLogic Docker image, `store/oracle/weblogic:12.2.1.3`, was updated on January 17, 2019,
124+
# and has all the necessary patches applied; a `docker pull` is required if you already have this image.
123125
# Refer to [WebLogic Docker images](../../../../../site/weblogic-docker-images.md) for details on how
124-
# to create a custom Docker image with the required patch.
126+
# to obtain or create the image.
125127
# See README.md for more help.
126-
#domainHomeImageBase:
128+
#domainHomeImageBase:
127129

128-
# Location of the WebLogic "domain home in image" Docker image sample in the
130+
# Location of the WebLogic "domain home in image" Docker image sample in the
129131
# `https://github.com/oracle/docker-images.git` project.
130132
# If not specified, use "./docker-images/OracleWebLogic/samples/12213-domain-home-in-image".
131133
# Another possible value is "./docker-images/OracleWebLogic/samples/12213-domain-home-in-image-wdt",

kubernetes/samples/scripts/create-weblogic-domain/domain-home-on-pv/create-domain-inputs.yaml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,10 @@ managedServerPort: 8001
3939

4040
# WebLogic Server Docker image.
4141
# The operator requires WebLogic Server 12.2.1.3.0 with patch 29135930 applied.
42+
# The existing WebLogic Docker image, `store/oracle/weblogic:12.2.1.3`, was updated on January 17, 2019,
43+
# and has all the necessary patches applied; a `docker pull` is required if you already have this image.
4244
# Refer to [WebLogic Docker images](../../../../../site/weblogic-docker-images.md) for details on how
43-
# to create a custom Docker image with the required patch.
45+
# to obtain or create the image.
4446
#image:
4547

4648
# Image pull policy
@@ -55,11 +57,11 @@ imagePullPolicy: IfNotPresent
5557
productionModeEnabled: true
5658

5759
# Name of the Kubernetes secret for the Admin Server's username and password
58-
# The name must be lowercase.
60+
# The name must be lowercase.
5961
# If not specified, the value is derived from the domainUID as <domainUID>-weblogic-credentials
6062
weblogicCredentialsSecretName: domain1-weblogic-credentials
6163

62-
# Whether to include server .out to the pod's stdout.
64+
# Whether to include server .out to the pod's stdout.
6365
# The default is true.
6466
includeServerOutInPodLog: true
6567

@@ -91,11 +93,11 @@ namespace: default
9193
#Java Option for WebLogic Server
9294
javaOptions: -Dweblogic.StdoutDebugEnabled=false
9395

94-
# Name of the persistent volume claim
96+
# Name of the persistent volume claim
9597
# If not specified, the value is derived from the domainUID as <domainUID>-weblogic-sample-pvc
96-
persistentVolumeClaimName: domain1-weblogic-sample-pvc
98+
persistentVolumeClaimName: domain1-weblogic-sample-pvc
9799

98-
# Mount path of the domain persistent volume.
100+
# Mount path of the domain persistent volume.
99101
domainPVMountPath: /shared
100102

101103
# Mount path where the create domain scripts are located inside a pod
@@ -112,7 +114,7 @@ createDomainScriptsMountPath: /u01/weblogic
112114
# domain home. The script is located in the in-pod directory that is specified in the
113115
# `createDomainScriptsMountPath` property.
114116
#
115-
# If you need to provide your own scripts to create the domain home, instead of using the
117+
# If you need to provide your own scripts to create the domain home, instead of using the
116118
# built-it scripts, you must use this property to set the name of the script that you want
117119
# the create domain job to run.
118120
createDomainScriptName: create-domain-job.sh
@@ -124,7 +126,7 @@ createDomainScriptName: create-domain-job.sh
124126
# use the built-in WLST offline scripts in the `wlst` directory to create the WebLogic domain.
125127
# It can also be set to the relative path `wdt`, and then the built-in WDT scripts will be
126128
# used instead.
127-
#
129+
#
128130
# An absolute path is also supported to point to an arbitrary directory in the file system.
129131
#
130132
# The built-in scripts can be replaced by the user-provided scripts or model files as long

site/quickstart.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,13 @@ d. Pull the Traefik load balancer image:
4242
$ docker pull traefik:1.7.4
4343
```
4444
e. Pull the WebLogic 12.2.1.3 install image:
45+
4546
```
4647
$ docker pull store/oracle/weblogic:12.2.1.3
47-
```
48-
f. Then patch the WebLogic image according to the instructions [here](https://github.com/oracle/docker-images/tree/master/OracleWebLogic/samples/12213-patch-wls-for-k8s), with these modifications:
48+
```
49+
**Note**: The existing WebLogic Docker image, `store/oracle/weblogic:12.2.1.3`, was updated on January 17, 2019, and has all the necessary patches applied; a `docker pull` is required if you already have this image.
4950

50-
* Change the `FROM` clause to extend the `store/oracle/weblogic:12.2.1.3` image from `Dockerfile.patch-ontop-12213`.
51-
* Comment out commands that apply patch 27117282.
52-
53-
g. Copy the image to all the nodes in your cluster, or put it in a Docker registry that your cluster can access.
51+
f. Copy the image to all the nodes in your cluster, or put it in a Docker registry that your cluster can access.
5452

5553
## 2. Grant the Helm service account the `cluster-admin` role.
5654

@@ -162,12 +160,14 @@ Follow the directions in the [README](../kubernetes/samples/scripts/create-weblo
162160
including:
163161

164162
* Copying the sample `kubernetes/samples/scripts/create-weblogic-domain/domain-home-in-image/create-domain-inputs.yaml` file and updating your copy with the `domainUID` (`sample-domain1`),
165-
domain namespace (`sample-domain1-ns`), and the `domainHomeImageBase` (`oracle/weblogic:12213-patch-wls-for-k8s`).
163+
domain namespace (`sample-domain1-ns`), and the `domainHomeImageBase` (`store/oracle/weblogic:12.2.1.3`).
166164

167165
* Setting `weblogicCredentialsSecretName` to the name of the secret containing the WebLogic credentials, in this case, `sample-domain1-weblogic-credentials`.
168166

169167
* Leaving the `image` empty unless you need to tag the new image that the script builds to a different name.
170168

169+
**NOTE**: If you set the `domainHomeImageBuildPath` property to `./docker-images/OracleWebLogic/samples/12213-domain-home-in-image-wdt`, make sure that your `JAVA_HOME` is set to a Java JDK version 1.8 or later.
170+
171171
For example, assuming you named your copy `my-inputs.yaml`:
172172
```
173173
$ cd kubernetes/samples/scripts/create-weblogic-domain/domain-home-in-image

site/user-guide.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,4 +78,7 @@ You can find the operator image in
7878
* Docker 18.03.1.ce (check with `docker version`).
7979
* Helm 2.8.2+ (check with `helm version`).
8080
* Oracle WebLogic Server 12.2.1.3.0 with patch 29135930.
81+
* The existing WebLogic Docker image, `store/oracle/weblogic:12.2.1.3`,
82+
was updated on January 17, 2019, and has all the necessary patches applied.
83+
* A `docker pull` is required if you already have this image.
8184
* You must have the `cluster-admin` role to install the operator.

0 commit comments

Comments
 (0)