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
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,6 @@ In this documentation, several important terms are used and are intended to have
36
36
| Secret | A Kubernetes secret is a named object that can store secret information like usernames, passwords, X.509 certificates, or any other arbitrary data. |
37
37
|Service | A Kubernetes service exposes application endpoints inside a pod to other pods, or outside the Kubernetes cluster. A service may also provide additional features like load balancing. |
38
38
39
-
40
39
# Getting Started
41
40
42
41
Before using the operator, it is highly recommended to read the [design philosophy](site/design.md) to develop an understanding of the operator's design, and the [architectural overview](site/architecture.md) to understand its architecture, including how WebLogic domains are deployed in Kubernetes using the operator. It is also worth reading the details of the [Kubernetes RBAC definitions](site/rbac.md) required by the operator.
@@ -192,6 +191,11 @@ Replace `NAMESPACE` with the namespace that the operator is running in.
192
191
To remove more than one operator, repeat these steps for each operator namespace.
193
192
194
193
194
+
# Recent Changes
195
+
196
+
See [Recent changes](site/recent-changes.md) for recent changes to the weblogic operator, including any backwards incompatible changes.
197
+
198
+
195
199
# Developer guide
196
200
197
201
Developers interested in this project are encouraged to read the [Developer guide](site/developer.md) to learn how to build the project, run tests, and so on. The Developer guide also provides details about the structure of the code, coding standards, and the Asynchronous Call facility used in the code to manage calls to the Kuberentes API.
Copy file name to clipboardExpand all lines: site/creating-domain.md
+36-29Lines changed: 36 additions & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Creating a WebLogic domain
2
2
3
-
The WebLogic domain must be installed into the folder that will be mounted as `/shared/domain`. The recommended approach is to use the provided `create-domain-job.sh` script; however, instructions are also provided for manually installing and configuring a WebLogic domain (see [Manually creating a domain](manually-creating-domain.md)).
3
+
The WebLogic domain must be installed into the folder that will be mounted as `/shared/domain`. The recommended approach is to use the provided `create-weblogic-domain.sh` script; however, instructions are also provided for manually installing and configuring a WebLogic domain (see [Manually creating a domain](manually-creating-domain.md)).
4
4
5
5
Note that there is a short video demonstration of the domain creation process available [here](https://youtu.be/Ey7o8ldKv9Y).
6
6
@@ -89,38 +89,41 @@ For other providers, consult the documentation for the provider for instructions
89
89
90
90
## Customizing the domain parameters file
91
91
92
-
The domain is created with the provided installation script (`create-domain-job.sh`). The input to this script is the file `create-domain-job-inputs.yaml`, which needs to be updated to reflect the target environment.
92
+
The domain is created with the provided installation script (`create-weblogic-domain.sh`). The input to this script is the file `create-weblogic-domain-inputs.yaml`, which needs to be updated to reflect the target environment.
93
93
94
94
The following parameters must be provided in the input file:
95
95
96
96
### CONFIGURATION PARAMETERS FOR THE CREATE DOMAIN JOB
97
97
98
-
| Parameter| Definition| Default |
98
+
| Parameter| Definition| Default |
99
99
| --- | --- | --- |
100
-
| adminPort | Port number for the Administration Server. | 7001 |
101
-
| adminServerName | The name of the Administration Server. | admin-server |
102
-
| createDomainScript | Script used to create the domain. This parameter should not be modified. | /u01/weblogic/create-domain-script.sh |
103
-
| domainName | Name of the WebLogic domain to create. | base_domain |
104
-
| domainUid | Unique ID that will be used to identify this particular domain. This ID must be unique across all domains in a Kubernetes cluster. | domain1 |
105
-
| enableLoadBalancerAdminPort | Determines whether the load balancer administration port should be exposed outside the Kubernetes cluster. | false |
106
-
| imagePullSecretName | Name of the Kubernetes secret for the Docker Store, used to pull the WebLogic Server image. | docker-store-secret |
107
-
| loadBalancerAdminPort | The node port for the load balancer to accept admin requests. | 30315 |
108
-
| loadBalancerWebPort | The node port for the load balancer to accept user traffic. | 30305 |
109
-
| managedServerCount | Number of Managed Server instances to generate for the domain. | 2 |
110
-
| managedServerNameBase | Base string used to generate Managed Server names. | managed-server |
111
-
| managedServerPort | Port number for each Managed Server. | 8001 |
112
-
| namespace | The Kubernetes namespace to create the domain in. | default |
113
-
| persistencePath | Physical path of the persistent volume storage. | /scratch/k8s_dir/persistentVolume001 |
114
-
| persistenceSize | Total storage allocated by the persistent volume. | 10Gi |
115
-
| persistenceStorageClass | Name of the storage class to set for the persistent volume and persistent volume claim. | weblogic |
116
-
| persistenceVolumeClaimName | Name of the Kubernetes persistent volume claim for this domain. | pv001-claim |
117
-
| persistenceVolumeName | Name of the Kubernetes persistent volume for this domain. | pv001 |
118
-
| productionModeEnabled | Boolean indicating if production mode is enabled for the domain. | true |
119
-
| replaceExistingDomain | If set to 'true' the script will remove any data it finds in the persistent volume before creating the new domain. Use with caution. | false |
120
-
| secretName | Name of the Kubernetes secret for the Administration Server's username and password. | domain1-weblogic-credentials |
121
-
| secretsMountPath | Path for mounting secrets. This parameter should not be modified. | /var/run/secrets-domain1 |
122
-
| startupControl | Determines which WebLogic servers will be started up. Legal values are 'NONE', 'ALL', 'ADMIN', 'SPECIFIED', or 'AUTO' | AUTO |
123
-
| T3ChannelPort | Port for the T3Channel of the NetworkAccessPoint. | 7002 |
100
+
| adminPort | Port number for the Administration Server inside the Kubernetes cluster. | 7001 |
101
+
| adminNodePort | Port number of the Administration Server outside the Kubernetes cluster. | 30701 |
102
+
| adminServerName | The name of the Administration Server. | admin-server |
103
+
| clusterName | The name of WebLogic Cluster instance to generate for the domain. | cluster-1 |
104
+
| configuredManagedServerCount | Number of Managed Server instances to generate for the domain. | 2 |
105
+
| domainName | Name of the WebLogic domain to create. | base_domain |
106
+
| domainUID | Unique ID that will be used to identify this particular domain. This ID must be unique across all domains in a Kubernetes cluster. | no default |
107
+
| exposeAdminNodePort | Boolean indicating if the the Administration Server is exposed outside of the Kubernetes cluster. | false |
108
+
| exposeAdminT3Channel | Boolean indicating if the T3 admin channel is exposed outside the Kubernetes cluster. | false |
109
+
| initialManagedServerReplicas | The number of managed servers to initially start for the domain | 2 |
110
+
| javaOptions | Java options for starting the Admin and Managed servers. | -Dweblogic.StdoutDebugEnabled=false |
111
+
| loadBalancer | The kind of load balancer to create. Legal values are 'NONE' and 'TRAEFIK'. | TRAEFIK |
112
+
| loadBalancerDashboardPort | The node port for the load balancer to accept dashboard traffic. | 30315 |
113
+
| loadBalancerWebPort | The node port for the load balancer to accept user traffic. | 30305 |
114
+
| managedServerNameBase | Base string used to generate Managed Server names. | managed-server |
115
+
| managedServerPort | Port number for each Managed Server. | 8001 |
116
+
| namespace | The Kubernetes namespace to create the domain in. | default |
117
+
| productionModeEnabled | Boolean indicating if production mode is enabled for the domain. | true |
118
+
| startupControl | Determines which WebLogic servers will be started up. Legal values are 'NONE', 'ALL', 'ADMIN', 'SPECIFIED', or 'AUTO' | AUTO |
119
+
| t3ChannelPort | Port for the T3Channel of the NetworkAccessPoint. | 30012 |
120
+
| t3PublicAddress | Public address for the t3 channel. | kubernetes |
121
+
| weblogicCredentialsSecretName | Name of the Kubernetes secret for the Administration Server's username and password. | domain1-weblogic-credentials |
122
+
| weblogicDomainStoragePath | Physical path of the storage for the weblogic domain. | no default |
123
+
| weblogicDomainStorageSize | Total storage allocated for weblogic domain. | 10Gi |
124
+
| weblogicDomainStorageType | Type of storage for the weblogic domain. Legal values are 'NFS' and 'HOST_PATH". | HOST_PATH |
125
+
| weblogicDomainStorageNFSServer| The name of ip address of the NFS server for the weblogic domain's storage. | no default |
126
+
| weblogicImagePullSecretName | Name of the Kubernetes secret for the Docker Store, used to pull the WebLogic Server image. | docker-store-secret |
124
127
125
128
## Limitations of the create domain script
126
129
@@ -137,13 +140,17 @@ Oracle intends to remove these limitations in a future release.
137
140
To execute the script and create a domain, issue the following command:
* Create a directory for the generated Kubernetes YAML files for this domain. The pathname is $OUTPUT_DIR/weblogic-domains/<domainUID parameter from create-weblogic-domain-inputs.yaml.
147
154
* Create Kubernetes YAML files based on the provided inputs.
148
155
* Create a persistent volume for the shared state.
149
156
* Create a persistent volume claim for that volume.
0 commit comments