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: site/apache.md
+13-13Lines changed: 13 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ This page describes how to setup and start a Apache Web Server for load balancin
5
5
6
6
## Build Docker Image for Apache Web Server
7
7
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.
9
9
10
10
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).
11
11
@@ -22,7 +22,7 @@ More information about the Apache plugin can be found at: [Apache Web Server wit
22
22
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.
23
23
24
24
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
26
26
27
27
Please refer to [Creating a domain using the WebLogic Operator](creating-domain.md) for how to create a domain with the WebLogic Operator.
28
28
@@ -36,9 +36,9 @@ loadBalancer: APACHE
36
36
37
37
```
38
38
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*.
40
40
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.
42
42
43
43
```
44
44
@@ -48,7 +48,7 @@ loadBalancerWebPort: 30305
48
48
49
49
```
50
50
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>.
52
52
53
53
### Use the default plugin WL module configuration
54
54
@@ -394,21 +394,21 @@ domain1-apache-webtier 2h
394
394
### Use your own plugin WL module configuration
395
395
396
396
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.
398
398
399
399
```
400
400
401
401
# Docker volume path for APACHE
402
402
403
403
# By default, the VolumePath is empty, which will cause the volume mount be disabled
404
404
405
-
loadBalancerVolumePath: /scratch/apache/config
405
+
loadBalancerVolumePath: <host-config-dir>
406
406
407
407
```
408
408
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.
410
410
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.
412
412
413
413
```
414
414
@@ -418,7 +418,7 @@ The generated yaml files will look similar except that the lines that start with
418
418
419
419
hostPath:
420
420
421
-
path: /scratch/apache/config
421
+
path: <host-config-dir>
422
422
423
423
containers:
424
424
@@ -438,14 +438,14 @@ The generated yaml files will look similar except that the lines that start with
438
438
439
439
440
440
441
-
## When use Apache load balancer with a manually created WebLogic Domain
441
+
## Use the Apache load balancer with a manually created WebLogic Domain
442
442
443
443
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.
444
444
445
445
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).
447
447
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.
0 commit comments