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: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,7 +63,7 @@ please consult this table of contents:
63
63
various tasks related to the operator.
64
64
* The [Developer guide](site/developer.md) provides details for people who want to understand how the operator is built, tested, and so on. Those who wish to contribute to the operator code will find useful information here. This section also includes
65
65
API documentation (Javadoc) and Swagger/OpenAPI documentation for the REST APIs.
66
-
* The [Contributing](#contributing-to-the-operator) section provides information about conribution requirements.
66
+
* The [Contributing](#contributing-to-the-operator) section provides information about contribution requirements.
Copy file name to clipboardExpand all lines: site/architecture.md
+9-1Lines changed: 9 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,15 @@ The operator consists of the following two main parts:
7
7
* The operator itself, a process that runs in a Docker container deployed into a Kubernetes pod and which performs the actual management tasks.
8
8
* A Kubernetes job which can be used to create a WebLogic domain.
9
9
10
-
The operator is packaged in a Docker image `container-registry.oracle.com/middleware/weblogic-operator:latest`. This image can be deployed to a Kubernetes cluster. It is recommended that the operator be deployed in its own namespace. Only one operator is permitted in a namespace; however, multiple operators may be deployed in a Kubernetes cluster provided they are each in their own namespace and the list of namespaces they manage do not overlap.
10
+
The operator is packaged in a [Docker image](https://hub.docker.com/r/oracle/weblogic-kubernetes-operator/) which you can access using the following `docker pull` command:
This image can be deployed to a Kubernetes cluster. It is recommended that the operator be deployed in its own namespace. Only one operator is permitted in a namespace; however, multiple operators may be deployed in a Kubernetes cluster provided they are each in their own namespace and the list of namespaces they manage do not overlap.
11
19
12
20
Scripts are provided to deploy the operator to a Kubernetes cluster. These scripts also provide options to install and configure a load balancer and Elastic Stack integration.
Copy file name to clipboardExpand all lines: site/helm-charts.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,15 @@
4
4
5
5
The WebLogic Kubernetes Operator uses Helm to create and deploy any necessary resources and then run the operator in a Kubernetes cluster. Helm helps you manage Kubernetes applications. Helm charts help you define and install applications into the Kubernetes cluster. The operator's Helm chart is located in the `kubernetes/charts/weblogic-operator` directory.
6
6
7
+
> If you have an old version of the operator installed on your cluster you must remove
8
+
it before installing this version. You should remove the deployment (for example `kubectl delete deploy weblogic-operator -n your-namespace`) and the custom
9
+
resource definition (for example `kubectl delete crd domain`). If you do not remove
10
+
the custom resource definition you may see errors like this:
11
+
12
+
`Error from server (BadRequest): error when creating "/scratch/output/uidomain/weblogic-domains/uidomain/domain.yaml":
13
+
the API version in the data (weblogic.oracle/v2) does not match the expected API version (weblogic.oracle/v1`
14
+
15
+
7
16
## Install Helm and Tiller
8
17
9
18
Helm has two parts: a client (helm) and a server (tiller). Tiller runs inside of your Kubernetes cluster, and manages releases (installations) of your charts. See https://github.com/kubernetes/helm/blob/master/docs/install.md for detailed instructions on installing helm and tiller.
Copy file name to clipboardExpand all lines: site/quickstart.md
+14-1Lines changed: 14 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,14 @@ Use this quick start guide to create a WebLogic deployment in a Kubernetes clust
4
4
These instructions assume that you are already familiar with Kubernetes. If you need more detailed instructions, please
5
5
refer to the [User guide](user-guide.md).
6
6
7
+
> If you have an old version of the operator installed on your cluster you must remove
8
+
it before installing this version. You should remove the deployment (for example `kubectl delete deploy weblogic-operator -n your-namespace`) and the custom
9
+
resource definition (for example `kubectl delete crd domain`). If you do not remove
10
+
the custom resource definition you may see errors like this:
11
+
12
+
`Error from server (BadRequest): error when creating "/scratch/output/uidomain/weblogic-domains/uidomain/domain.yaml":
13
+
the API version in the data (weblogic.oracle/v2) does not match the expected API version (weblogic.oracle/v1`
14
+
7
15
## Prerequisites
8
16
For this exercise, you’ll need a Kubernetes cluster. If you need help setting one up, check out our [cheat sheet](k8s_setup.md).
9
17
@@ -164,9 +172,14 @@ domain namespace (`sample-domain1-ns`) and the `domainHomeImageBase` (`oracle/we
164
172
For example, assuming you named your copy `my-inputs.yaml`:
165
173
```
166
174
$ cd kubernetes/samples/scripts/create-weblogic-domain/domain-home-in-image
Copy file name to clipboardExpand all lines: site/v1.0/creating-domain.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -109,7 +109,7 @@ The following parameters must be provided in the input file.
109
109
|`exposeAdminNodePort`| Boolean indicating if the Administration Server is exposed outside of the Kubernetes cluster. |`false`|
110
110
|`exposeAdminT3Channel`| Boolean indicating if the T3 administrative channel is exposed outside the Kubernetes cluster. |`false`|
111
111
|`initialManagedServerReplicas`| Number of Managed Servers to initially start for the domain. |`2`|
112
-
|`javaOptions`| Java options for starting the Administration and Managed Servers. |`-Dweblogic.StdoutDebugEnabled=false`|
112
+
|`javaOptions`| Java options for starting the Administration and Managed Servers. A Java option can have references to one or more of the following pre-defined variables to obtain WebLogic domain information: $(DOMAIN_NAME), $(DOMAIN_HOME), $(ADMIN_NAME), $(ADMIN_PORT), and $(SERVER_NAME). |`-Dweblogic.StdoutDebugEnabled=false`|
113
113
|`loadBalancer`| Type of load balancer to create. Legal values are `NONE` and `TRAEFIK`. |`TRAEFIK`|
114
114
|`loadBalancerDashboardPort`| Node port for the load balancer to accept dashboard traffic. |`30315`|
115
115
|`loadBalancerWebPort`| Node port for the load balancer to accept user traffic. |`30305`|
Copy file name to clipboardExpand all lines: site/v1.1/apache.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ You need to build the Docker image for the Apache HTTP Server that embeds the Or
18
18
19
19
```
20
20
21
-
For more information about the Apache plugin, see [Apache HTTP Server with Oracle WebLogic Server Proxy Plugin on Docker](https://docs.oracle.com/middleware/12213/webtier/develop-plugin/apache.htm#PLGWL395).
21
+
For more information about the Apache plugin, see [Configuring the Plug-In for Apache HTTP Server](https://docs.oracle.com/middleware/12213/webtier/develop-plugin/apache.htm#PLGWL395).
22
22
23
23
After you have access to the Docker image of the Apache HTTP Server, you can follow the instructions below to set up and start the Kubernetes resources for the Apache HTTP Server.
24
24
@@ -250,7 +250,7 @@ You can fine tune the behavior of the Apache plugin by providing your own Apache
250
250
loadBalancerVolumePath: <host-config-dir>
251
251
```
252
252
253
-
After the `loadBalancerVolumePath` property is specified, the `create-weblogic-domain.sh` script will use the `custom_mod_wl_apache.conf` file in `<host-config-dir>` directory to replace what is in the Docker image.
253
+
After the `loadBalancerVolumePath` property is specified, the `create-weblogic-domain.sh` script will use the `custom_mod_wl_apache.conf` file in the `<host-config-dir>` directory to replace what is in the Docker image.
254
254
255
255
The generated YAML files will look similar except with un-commented entries like below:
256
256
@@ -270,7 +270,7 @@ The generated YAML files will look similar except with un-commented entries like
270
270
271
271
## Use the Apache load balancer with a manually created WebLogic Domain
272
272
273
-
If your WebLogic domain is not created by the WebLogic Operator, you need to manually create and start all Kubernetes' resources for the Apache HTTP Server.
273
+
If your WebLogic domain is not created by the WebLogic Operator, you need to manually create and start all Kubernetes resources for the Apache HTTP Server.
274
274
275
275
1. Create your own `custom_mod_wl_apache.conf` file, and put it in a local directory, for example, `<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).
0 commit comments