Skip to content

Commit 6ef5146

Browse files
authored
Merge pull request #781 from oracle/rmarano
modify patching instructions
2 parents 77d3f45 + 5ed04e5 commit 6ef5146

File tree

1 file changed

+19
-7
lines changed

1 file changed

+19
-7
lines changed

site/quickstart.md

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,12 @@ e. Pull the WebLogic 12.2.1.3 install image:
4545
```
4646
$ docker pull store/oracle/weblogic:12.2.1.3
4747
```
48-
f. **TODO** remove this item when Monica has published the new image with the patch in it **TODO**
49-
Then patch the WebLogic image according to these [instructions](https://github.com/oracle/docker-images/tree/master/OracleWebLogic/samples/12213-patch-wls-for-k8s),
50-
and copy the image to all nodes in your cluster, or put it in a Docker registry that your cluster can access.
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:
49+
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.
5154

5255
## 2. Create a Traefik (Ingress-based) load balancer.
5356

@@ -159,9 +162,10 @@ Follow the directions in the [README](../kubernetes/samples/scripts/create-weblo
159162
including:
160163

161164
* Copying the sample `create-domain-inputs.yaml` file and updating your copy with the `domainUID` (`sample-domain1`),
162-
domain namespace (`sample-domain1-ns`) and the `domainHomeImageBase` (`oracle/weblogic:12213-patch-wls-for-k8s`).
165+
domain namespace (`sample-domain1-ns`), and the `domainHomeImageBase` (`oracle/weblogic:12213-patch-wls-for-k8s`).
166+
167+
* Setting `weblogicCredentialsSecretName` to the name of the secret containing the WebLogic credentials, in this case, `sample-domain1-weblogic-credentials`.
163168

164-
* Setting `weblogicCredentialsSecretName` to the name of the secret containing the WebLogic credentials.
165169
By convention, the secret will be named`domainUID-weblogic-credentials` (where `domainUID` is replaced with the
166170
actual `domainUID` value).
167171

@@ -170,11 +174,19 @@ domain namespace (`sample-domain1-ns`) and the `domainHomeImageBase` (`oracle/we
170174
For example, assuming you named your copy `my-inputs.yaml`:
171175
```
172176
$ cd kubernetes/samples/scripts/create-weblogic-domain/domain-home-in-image
173-
$ ./create-domain.sh -i my-inputs.yaml -o /some/output/directory -u username -p password -e
177+
$ ./create-domain.sh -i my-inputs.yaml -o /some/output/directory -u weblogic -p welcome1 -e
174178
```
175179

176180
You need to provide the WebLogic administration user name and password in the `-u` and `-p` options
177-
respectively, as shown in the example. If you specify the `-e` option, the script will generate the
181+
respectively, as shown in the example.
182+
183+
**NOTE**: When using this sample, the WebLogic Server credentials that you specify, in three separate places, must be consistent:
184+
185+
1. The secret that you create for the credentials.
186+
2. The properties files in the sample project you choose to create the Docker image from.
187+
3. The parameters you supply to the `createDomain.sh` script.
188+
189+
If you specify the `-e` option, the script will generate the
178190
Kubernetes YAML files *and* apply them to your cluster. If you omit the `-e` option, the
179191
script will just generate the YAML files, but will not take any action on your cluster.
180192

0 commit comments

Comments
 (0)