Skip to content

Commit fb8dbc4

Browse files
committed
Address review comments in apache.md
Signed-off-by: Dongbo Xiao <[email protected]>
1 parent a00b89f commit fb8dbc4

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

site/apache.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ This page describes how to setup and start a Apache Web Server for load balancin
55

66
## Build Docker Image for Apache Web Server
77

8-
You need to prepare the Docker image for Apache Web Server that enbeds Oracle WebLogic Server Proxy Plugin.
8+
You need to build the Docker image for Apache Web Server that enbeds Oracle WebLogic Server Proxy Plugin.
99

1010
1. Download and build the Docker image for the Apache Web Server with 12.2.1.3.0 Oracle WebLogic Server Proxy Plugin. See the instructions in [Apache Web Server with Oracle WebLogic Server Proxy Plugin on Docker](https://github.com/oracle/docker-images/tree/master/OracleWebLogic/samples/12213-webtier-apache).
1111

@@ -22,7 +22,7 @@ More information about the Apache plugin can be found at: [Apache Web Server wit
2222
Once you have access to the Docker image of the Apache Web Server, you can go ahead follow the instructions below to setup and start Kubernetes artifacts for Apache Web Server.
2323

2424

25-
## When use Apache load balancer with a WebLogic domain created with the WebLogic Operator
25+
## Use Apache load balancer with a WebLogic domain created with the WebLogic Operator
2626

2727
Please refer to [Creating a domain using the WebLogic Operator](creating-domain.md) for how to create a domain with the WebLogic Operator.
2828

@@ -36,9 +36,9 @@ loadBalancer: APACHE
3636
3737
```
3838

39-
The `create-weblogic-domain.sh` script installs the Apache Web Server with Oracle WebLogic Server Proxy Plugin into the Kubernetes *cluster* in the same namespace of the *domain*.
39+
The `create-weblogic-domain.sh` script installs the Apache Web Server with Oracle WebLogic Server Proxy Plugin into the Kubernetes *cluster* in the same namespace as the *domain*.
4040

41-
The Apache Web Server will expose a `NodePort` that allows access to the load balancer from the outside of the Kubernetes cluster. The port is controlled by the following setting in `create-weblogic-domain-inputs.yaml` file:
41+
The Apache Web Server will expose a `NodePort` that allows access to the load balancer from outside of the Kubernetes cluster. The port is configured by setting 'loadBalancerWebPort' in `create-weblogic-domain-inputs.yaml` file.
4242

4343
```
4444
@@ -48,7 +48,7 @@ loadBalancerWebPort: 30305
4848
4949
```
5050

51-
The user can access an application from utsidie of the Kubernetes cluster via http://<host>:30305/<application-url>.
51+
The user can access an application from outside of the Kubernetes cluster via http://<host>:30305/<application-url>.
5252

5353
### Use the default plugin WL module configuration
5454

@@ -394,21 +394,21 @@ domain1-apache-webtier 2h
394394
### Use your own plugin WL module configuration
395395

396396

397-
Optionally you can fine turn the behavior of the Apache plugin by providing your own Apache plugin configuration for `create-weblogic-domain.sh` script to use. You put your custom_mod_wl_apache.conf file in a local directory, say `/scratch/apache/config` , and specify this location in the `create-weblogic-domain-inputs.yaml` file as follows.
397+
You can fine turn the behavior of the Apache plugin by providing your own Apache plugin configuration. You put your custom_mod_wl_apache.conf file in a local directory, for example `<host-config-dir>` , and specify this location in the `create-weblogic-domain-inputs.yaml` file as follows.
398398

399399
```
400400
401401
# Docker volume path for APACHE
402402
403403
# By default, the VolumePath is empty, which will cause the volume mount be disabled
404404
405-
loadBalancerVolumePath: /scratch/apache/config
405+
loadBalancerVolumePath: <host-config-dir>
406406
407407
```
408408

409-
Once the loadBalancerVolumePath is specified, the `create-weblogic-domain.sh` script will use the custom_mod_wl_apache.config file in `/scratch/apache/config` directory to replace what is in the Docker image.
409+
After the loadBalancerVolumePath is specified, the `create-weblogic-domain.sh` script will use the custom_mod_wl_apache.config file in `<host-config-dir>` directory to replace what is in the Docker image.
410410

411-
The generated yaml files will look similar except that the lines that start with "#" will be un-commented like the following.
411+
The generated yaml files will look similar except with un-commented entries like bellow.
412412

413413
```
414414
@@ -418,7 +418,7 @@ The generated yaml files will look similar except that the lines that start with
418418
419419
hostPath:
420420
421-
path: /scratch/apache/config
421+
path: <host-config-dir>
422422
423423
containers:
424424
@@ -438,14 +438,14 @@ The generated yaml files will look similar except that the lines that start with
438438

439439

440440

441-
## When use Apache load balancer with a manually created WebLogic Domain
441+
## Use the Apache load balancer with a manually created WebLogic Domain
442442

443443
If your WebLogic domain is not created by the WebLogic Operator, you need to manually create and start all Kubernetes' artifacts for Apache Web Server.
444444

445445

446-
1. Create your own custom_mod_wl_apache.conf file, and put it in a local dir, say `<apache-conf-dir>`. See the instructions in [Apache Web Server with Oracle WebLogic Server Proxy Plugin on Docker](https://docs.oracle.com/middleware/1213/webtier/develop-plugin/apache.htm#PLGWL395).
446+
1. Create your own custom_mod_wl_apache.conf file, and put it in a local dir, say `<host-conf-dir>`. See the instructions in [Apache Web Server with Oracle WebLogic Server Proxy Plugin on Docker](https://docs.oracle.com/middleware/1213/webtier/develop-plugin/apache.htm#PLGWL395).
447447

448-
2. Create the Apache deployment yaml file. See the example above. Note that you need to use the **volumes** and **volumeMounts** to mount `<apache-config-dir>` in to `/config` directory inside the pod that runs Apache web tier. Note that the Apache Web Server needs to be in the same Kubernetes namespace as the WebLogic domains that it needs to access.
448+
2. Create the Apache deployment yaml file. See the example above. Note that you need to use the **volumes** and **volumeMounts** to mount `<host-config-dir>` in to `/config` directory inside the pod that runs Apache web tier. Note that the Apache Web Server needs to be in the same Kubernetes namespace as the WebLogic domains that it needs to access.
449449

450450
3. Create a RBAC yaml file. See the example above
451451

0 commit comments

Comments
 (0)