@@ -37,7 +37,7 @@ The usage of the create script is as follows:
37
37
38
38
```
39
39
$ sh create-domain.sh -h
40
- usage: create-domain.sh -o dir -i file -u username -p password [-s ] [-e] [-h]
40
+ usage: create-domain.sh -o dir -i file -u username -p password [-k ] [-e] [-h]
41
41
-i Parameter inputs file, must be specified.
42
42
-o Ouput directory for the generated properties and YAML files, must be specified.
43
43
-u Username used in building the Docker image for WebLogic domain in image.
@@ -133,9 +133,9 @@ spec:
133
133
name: domain1-weblogic-credentials
134
134
# Whether to include the server out file into the pod's stdout, default is true
135
135
includeServerOutInPodLog: true
136
- # serverStartPolicy legal values are "NEVER", "ALWAYS", " IF_NEEDED", or "ADMIN_ONLY"
136
+ # serverStartPolicy legal values are "NEVER", "IF_NEEDED", or "ADMIN_ONLY"
137
137
# This determines which WebLogic Servers the Operator will start up when it discovers this Domain
138
- # - "ALWAYS " will start up all defined servers
138
+ # - "NEVER " will not start any servers in the domain
139
139
# - "ADMIN_ONLY" will start up only the administration server (no managed servers will be started)
140
140
# - "IF_NEEDED" will start all non-clustered servers, including the administration server and clustered servers up to the replica count
141
141
serverStartPolicy: "IF_NEEDED"
@@ -186,19 +186,17 @@ Name: domain1
186
186
Namespace: default
187
187
Labels: weblogic.domainUID=domain1
188
188
weblogic.resourceVersion=domain-v2
189
- Annotations: <none>
189
+ Annotations: kubectl.kubernetes.io/last-applied-configuration={"apiVersion":"weblogic.oracle/v2","kind":"Domain","metadata":{"annotations":{},"labels":{"weblogic.domainUID":"domain1","weblogic.resourceVersion":"do...
190
190
API Version: weblogic.oracle/v2
191
191
Kind: Domain
192
192
Metadata:
193
193
Cluster Name:
194
- Creation Timestamp: 2018-12-11T21:27:35Z
194
+ Creation Timestamp: 2018-12-17T05:58:12Z
195
195
Generation: 1
196
- Resource Version: 814010
196
+ Resource Version: 15193
197
197
Self Link: /apis/weblogic.oracle/v2/namespaces/default/domains/domain1
198
- UID: 93e55739-fd8b-11e8-b751-fa163e855ac8
198
+ UID: bce25779-01c0-11e9-baf4-0021f6985fb7
199
199
Spec:
200
- Admin Secret:
201
- Name: domain1-weblogic-credentials
202
200
Admin Server:
203
201
Exported Network Access Points:
204
202
Node Port Annotations:
@@ -221,25 +219,25 @@ Spec:
221
219
Volumes:
222
220
Server Start State: RUNNING
223
221
Clusters:
224
- Cluster - 1:
225
- Replicas: 2
226
- Server Pod:
227
- Container Security Context:
228
- Env:
229
- Liveness Probe:
230
- Node Selector:
231
- Pod Annotations:
232
- Pod Labels:
233
- Pod Security Context:
234
- Readiness Probe:
235
- Resources:
236
- Limits:
237
- Requests:
238
- Service Annotations:
239
- Service Labels:
240
- Volume Mounts:
241
- Volumes:
242
- Server Start State: RUNNING
222
+ Cluster Name: cluster-1
223
+ Replicas: 2
224
+ Server Pod:
225
+ Container Security Context:
226
+ Env:
227
+ Liveness Probe:
228
+ Node Selector:
229
+ Pod Annotations:
230
+ Pod Labels:
231
+ Pod Security Context:
232
+ Readiness Probe:
233
+ Resources:
234
+ Limits:
235
+ Requests:
236
+ Service Annotations:
237
+ Service Labels:
238
+ Volume Mounts:
239
+ Volumes:
240
+ Server Start State: RUNNING
243
241
Domain Home: /u01/oracle/user_projects/domains/domain1
244
242
Domain Home In Image: true
245
243
Image: 12213-domain-home-in-image:latest
@@ -267,29 +265,39 @@ Spec:
267
265
Volume Mounts:
268
266
Volumes:
269
267
Server Start Policy: IF_NEEDED
268
+ Web Logic Credentials Secret:
269
+ Name: domain1-weblogic-credentials
270
270
Status:
271
271
Conditions:
272
- Last Transition Time: 2018-12-11T21:28:59.537Z
272
+ Last Transition Time: 2018-12-17T05:59:55.227Z
273
273
Reason: ServersReady
274
274
Status: True
275
275
Type: Available
276
276
Servers:
277
277
Health:
278
- Activation Time: 2018-12-11T21:28:36.983Z
278
+ Activation Time: 2018-12-17T05:59:37.977Z
279
279
Overall Health: ok
280
280
Subsystems:
281
281
Node Name: xxxxxxxx
282
282
Server Name: admin-server
283
283
State: RUNNING
284
284
Cluster Name: cluster-1
285
+ Health:
286
+ Activation Time: 2018-12-17T06:01:23.764Z
287
+ Overall Health: ok
288
+ Subsystems:
285
289
Node Name: xxxxxxxx
286
290
Server Name: managed-server1
287
- State: STARTING
291
+ State: RUNNING
288
292
Cluster Name: cluster-1
293
+ Health:
294
+ Activation Time: 2018-12-17T06:01:25.393Z
295
+ Overall Health: ok
296
+ Subsystems:
289
297
Node Name: xxxxxxxx
290
298
Server Name: managed-server2
291
- State: STARTING
292
- Start Time: 2018-12-11T21:27:35.869Z
299
+ State: RUNNING
300
+ Start Time: 2018-12-17T05:58:12.615Z
293
301
Events: <none>
294
302
```
295
303
@@ -308,9 +316,9 @@ Here is an example of the output of this command:
308
316
```
309
317
$ kubectl get pods
310
318
NAME READY STATUS RESTARTS AGE
311
- domain1-admin-server 1/1 Running 0 1m
312
- domain1-managed-server1 1/1 Running 0 8m
313
- domain1-managed-server2 1/1 Running 0 8m
319
+ domain1-admin-server 1/1 Running 0 30m
320
+ domain1-managed-server1 1/1 Running 0 29m
321
+ domain1-managed-server2 1/1 Running 0 29m
314
322
```
315
323
316
324
### Verify the services
@@ -325,10 +333,9 @@ Here is an example of the output of this command:
325
333
```
326
334
$ kubectl get services
327
335
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
328
- domain1-admin-server NodePort 10.96.206.134 <none> 7001:30701/TCP 23m
329
- domain1-admin-server-extchannel-t3channel NodePort 10.107.164.241 <none> 30012:30012/TCP 22m
330
- domain1-cluster-cluster-1 ClusterIP 10.109.133.168 <none> 8001/TCP 22m
331
- domain1-managed-server1 ClusterIP None <none> 8001/TCP 22m
336
+ domain1-admin-server ClusterIP None <none> 7001/TCP 32m
337
+ domain1-cluster-cluster-1 ClusterIP 10.99.151.142 <none> 8001/TCP 31m
338
+ domain1-managed-server1 ClusterIP None <none> 8001/TCP 31m
332
339
domain1-managed-server2 ClusterIP None <none> 8001/TCP 22m
333
340
```
334
341
0 commit comments