Skip to content

Commit 6feb813

Browse files
committed
modify the apache sample directory structure
1 parent 12cb823 commit 6feb813

File tree

7 files changed

+12
-6
lines changed

7 files changed

+12
-6
lines changed

kubernetes/samples/charts/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Weblogic operator supports three types load balancers: TRAEFIK, VOYAGER, APACHE. We provide samples for each type to demostrate how to install and configure load balancer. Samples are located in following folders:
2+
traefik
3+
voyager
4+
ingress-per-domain
5+
apache-samples
6+
Note: apache-webtier is helm chart. It is used in apache-samples.

kubernetes/samples/charts/apache/custom-sample.md renamed to kubernetes/samples/charts/apache-samples/custom-sample/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ The second domain uses the following custom configuration parameters:
2828
- adminNodePort: 30702
2929
- managedServerPort: 8021
3030

31-
After the domains are successfully created, deploy the sample web application testwebapp.war on each domain cluster through the admin console.
31+
After the domains are successfully created, deploy the sample web application testwebapp.war on each domain cluster through the admin console. The sample web application is located in the kubernetes/samples/charts/application directory.
3232

3333
## 3. Build Apache Webtier Docker Image
3434
Please refer the sample https://github.com/oracle/docker-images/tree/master/OracleWebLogic/samples/12213-webtier-apache to build Apache webtier docker image.
@@ -82,7 +82,7 @@ PathTrim /weblogic2
8282
## 5. Prepare Your Own Certificate and Private Key
8383
In production, Oracle strongly recommends that you provide your own certificates. Run following commands to to generate your own certificate and private key using openssl.
8484
```
85-
$ cd kubernetes/samples/charts/apache
85+
$ cd kubernetes/samples/charts/apache-samples/custom-sample
8686
$ export VIRTUAL_HOST_NAME=apache-sample-host
8787
$ export SSL_CERT_FILE=apache-sample.crt
8888
$ export SSL_CERT_KEY_FILE=apache-sample.key
@@ -121,10 +121,10 @@ customKey: <key_data>
121121
```
122122

123123
## 7. Install Apache Webtier Helm Chart
124-
Apache webtier helm chart is located at https://github.com/oracle/weblogic-kubernetes-operator/blob/develop/kubernetes/samples/charts/apache-webtier. You need download it to local path. Install Apache webtier helm chart to apache-sample namespace with specified input parameters:
124+
Apache webtier helm chart is located in kubernetes/samples/charts/apache-webtier directory. Install Apache webtier helm chart to apache-sample namespace with specified input parameters:
125125
```
126-
$ cd ..
127-
$ helm install --name my-release --values apache/input.yaml --namespace apache-sample apache-webtier
126+
$ cd kubernetes/samples/charts
127+
$ helm install --name my-release --values apache-samples/custom-sample/input.yaml --namespace apache-sample apache-webtier
128128
```
129129

130130
## 8. Run the Sample Application

kubernetes/samples/charts/apache/default-sample.md renamed to kubernetes/samples/charts/apache-samples/default-sample/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Now we need to prepare backend for Apache webtier to do load balancing. Please r
1010
- adminPort: 7001
1111
- managedServerPort: 8001
1212

13-
After the domain is successfully created, deploy the sample web application testwebapp.war on the domain cluster through the admin console.
13+
After the domain is successfully created, deploy the sample web application testwebapp.war on the domain cluster through the admin console. The sample web application is located in the kubernetes/samples/charts/application directory.
1414

1515
## 2. Build Apache Webtier Docker Image
1616
Please refer the sample https://github.com/oracle/docker-images/tree/master/OracleWebLogic/samples/12213-webtier-apache to build Apache webtier docker image.

0 commit comments

Comments
 (0)