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/creating-domain.md
+8-6Lines changed: 8 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -89,7 +89,7 @@ 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-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.
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 must be copied and updated to reflect the target environment.
93
93
94
94
The following parameters must be provided in the input file:
95
95
@@ -125,6 +125,8 @@ The following parameters must be provided in the input file:
125
125
| weblogicDomainStorageNFSServer| The name of ip address of the NFS server for the weblogic domain's storage. | no default |
126
126
| weblogicImagePullSecretName | Name of the Kubernetes secret for the Docker Store, used to pull the WebLogic Server image. | docker-store-secret |
127
127
128
+
You must uncomment and customize `domainUID` and `weblogicDomainStoratePath`.
129
+
128
130
## Limitations of the create domain script
129
131
130
132
This technology preview release has some limitations in the create domain script that users should be aware of.
@@ -136,11 +138,11 @@ Oracle intends to remove these limitations in a future release.
136
138
137
139
## Using the script to create a domain
138
140
139
-
To execute the script and create a domain, issue the following command:
141
+
At this point, you've created a customized copy of the inputs file.
140
142
141
-
```
142
-
# Choose and create a directory that generated weblogic operator related files will be stored in,
143
-
# e.g. /path/to/weblogic-operator-output-directory
143
+
Next, choose and create a directory that generated weblogic operator related files will be stored in, e.g. /path/to/weblogic-operator-output-directory.
144
+
145
+
Finally, run the create script, pointing it at your inputs file and outputdirectory:
144
146
145
147
./create-weblogic-domain.sh \
146
148
–i create-domain-job-inputs.yaml \
@@ -151,7 +153,7 @@ To execute the script and create a domain, issue the following command:
151
153
152
154
The script will perform the following steps:
153
155
154
-
* Create a directory for the generated Kubernetes YAML files for this domain. The pathname is /path/to/weblogic-operator-output-directory/weblogic-domains/<domainUID parameter from create-weblogic-domain-inputs.yaml.
156
+
* Create a directory for the generated Kubernetes YAML files for this domain. The pathname is /path/to/weblogic-operator-output-directory/weblogic-domains/<domainUID>.
155
157
* Create Kubernetes YAML files based on the provided inputs.
156
158
* Create a persistent volume for the shared state.
157
159
* Create a persistent volume claim for that volume.
Copy file name to clipboardExpand all lines: site/developer.md
+13-9Lines changed: 13 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -73,12 +73,15 @@ To run the tests, uncomment the following `execution` element in the `pom.xml` f
73
73
-->
74
74
```
75
75
76
-
These tests assume that the RBAC definitions exist on the Kubernetes cluster. To create them, update the inputs file and run the operator installation script with the "generate only" option as shown below (see the [installation](installation.md) page for details about this script and the inputs):
76
+
These tests assume that the RBAC definitions exist on the Kubernetes cluster.
77
77
78
-
```
79
-
# Choose and create a directory that generated weblogic operator related files will be stored in,
80
-
# e.g. /path/to/weblogic-operator-output-directory
78
+
To create them, first, make a copy of the inputs file (`create-weblogic-operator-inputs.yaml`) and update it.
79
+
80
+
Next, choose and create a directory that generated weblogic operator related files will be stored in, e.g. /path/to/weblogic-operator-output-directory.
81
81
82
+
Finally, run the operator installation script with the "generate only" option as shown below, pointing it at your inputs file and your output directory. (see the [installation](installation.md) page for details about this script and the inputs):
Verify that you have the right image by running `docker images | grep webloogic-kubernetes-operator` on both machines and comparing the image ID.
126
129
127
-
To create the Kuberentes YAML file to deploy the operator, update the inputs file (`create-weblogic-operator-inputs.yaml`) and make sure the `imagePullPolicy` is set to `Never` and the `image` matches the name you used in your `docker build` command. Then run the operator installation script to deploy the operator:
130
+
To create and deploy the operator, first, make a copy of the inputs file (`create-weblogic-operator-inputs.yaml`) and update it, making sure that `weblogicOperatorImagePullPolicy` is set to `Never` and `weblogicOperatorImage` matches the name you used in your `docker build` command.
128
131
129
-
```
130
-
# Choose and create a directory that generated weblogic operator related files will be stored in,
131
-
# e.g. /path/to/weblogic-operator-output-directory
132
+
Next, choose and create a directory that generated weblogic operator related files will be stored in, e.g. /path/to/weblogic-operator-output-directory.
133
+
134
+
Finally, run the operator installation script to deploy the operator, pointing it at your inputs file and your outputdirectory:
Copy file name to clipboardExpand all lines: site/installation.md
+9-8Lines changed: 9 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -62,9 +62,7 @@ Verify that you have the right image by running `docker images | grep webloogic-
62
62
63
63
## Customizing the operator parameters file
64
64
65
-
The operator is deployed with the provided installation script (`create-weblogic-operator.sh`). The input to this script is the file `create-weblogic-operator-inputs.yaml`, which needs to updated to reflect the target environment.
66
-
67
-
The following parameters must be provided in the input file:
65
+
The operator is deployed with the provided installation script (`create-weblogic-operator.sh`). The default input to this script is the file `create-weblogic-operator-inputs.yaml`. It contains the following parameters:
68
66
69
67
### CONFIGURATION PARAMETERS FOR THE OPERATOR
70
68
@@ -87,6 +85,8 @@ The following parameters must be provided in the input file:
87
85
| weblogicOperatorImagePullPolicy | The image pull policy for the operator docker image. Allowed values are 'Always', 'Never' and 'IfNotPresent' | IfNotPresent |
88
86
| weblogicOperatorImagePullSecretName | Name of the Kubernetes secret to access the Docker Store to pull the WebLogic Server Docker image. The presence of the secret will be validated when this parameter is enabled. ||
89
87
88
+
Review the default values to see if any need to be updated to reflect the target environment. If so, then make a copy of the input file and modify it. Otherwise, you can use the default input file.
89
+
90
90
## Decide which REST configuration to use
91
91
92
92
The operator provides three REST certificate options:
@@ -119,14 +119,15 @@ To enable the ELK integration, set the `elkIntegrationEnabled` option to `true`.
119
119
120
120
## Deploying the operator to a Kubernetes cluster
121
121
122
-
To deploy the operator, run the deployment script and give it the location of your inputs file:
122
+
At this point, you've created a custom inputs file, or you've decided to use the default one.
123
123
124
-
```
125
-
# Choose and create a directory that generated weblogic operator related files will be stored in,
126
-
# e.g. /path/to/weblogic-operator-output-directory
124
+
Next, choose and create a directory that generated weblogic operator related files will be stored in, e.g. /path/to/weblogic-operator-output-directory.
127
125
126
+
Finally, run the operator installation script to deploy the operator, pointing it at your inputs file and your output directory:
Copy file name to clipboardExpand all lines: site/manually-creating-domain.md
+7-4Lines changed: 7 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,12 +11,15 @@ If creating the domain manually, using a WLST script for example, the domain mus
11
11
12
12
## Use the scripts to create the sample YAML files
13
13
14
-
The `create-weblogic-domain.sh` script described in the previous section can be executed with the “-g” option, which will cause it to generate the YAML files but take no action at all against the Kubernetes environment. This is a useful way to create the sample YAML files needed to manually create a domain. Execute the script as follows:
14
+
The `create-weblogic-domain.sh` script described in the previous section can be executed with the “-g” option, which will cause it to generate the YAML files but take no action at all against the Kubernetes environment. This is a useful way to create the sample YAML files needed to manually create a domain.
15
15
16
-
```
17
-
# Choose and create a directory that generated weblogic operator related files will be stored in,
18
-
# e.g. /path/to/weblogic-operator-output-directory
16
+
First, make a copy of `create-weblogic-domain-inputs.yaml` and customize it.
17
+
18
+
Next, choose and create a directory that generated weblogic operator related files will be stored in, e.g. /path/to/weblogic-operator-output-directory
19
19
20
+
Then, execute the script, pointing it at your inputs file and output directory:
0 commit comments