Skip to content

Commit 4a71f25

Browse files
committed
adding version warnings and checking all links
1 parent f0b6532 commit 4a71f25

38 files changed

+81
-189
lines changed

site/v1.0/apache.md

Lines changed: 0 additions & 180 deletions
Original file line numberDiff line numberDiff line change
@@ -73,375 +73,195 @@ The generated Kubernetes YAML files look like the following, given the `domainUI
7373
Sample `weblogic-domain-apache.yaml` file for Apache HTTP Server deployment.
7474

7575
```
76-
7776
--
78-
7977
apiVersion: v1
80-
8178
kind: ServiceAccount
82-
8379
metadata:
84-
8580
name: domain1-apache-webtier
86-
8781
namespace: default
88-
8982
labels:
90-
9183
weblogic.domainUID: domain1
92-
9384
weblogic.domainName: base_domain
94-
9585
app: apache-webtier
96-
9786
---
98-
9987
kind: Deployment
100-
10188
apiVersion: extensions/v1beta1
102-
10389
metadata:
104-
10590
name: domain1-apache-webtier
106-
10791
namespace: default
108-
10992
labels:
110-
11193
weblogic.domainUID: domain1
112-
11394
weblogic.domainName: base_domain
114-
11595
app: apache-webtier
116-
11796
spec:
118-
11997
replicas: 1
120-
12198
selector:
122-
12399
matchLabels:
124-
125100
weblogic.domainUID: domain1
126-
127101
weblogic.domainName: base_domain
128-
129102
app: apache-webtier
130-
131103
template:
132-
133104
metadata:
134-
135105
labels:
136-
137106
weblogic.domainUID: domain1
138-
139107
weblogic.domainName: base_domain
140-
141108
app: apache-webtier
142-
143109
spec:
144-
145110
serviceAccountName: domain1-apache-webtier
146-
147111
terminationGracePeriodSeconds: 60
148-
149112
# volumes:
150-
151113
# - name: "domain1-apache-webtier"
152-
153114
# hostPath:
154-
155115
# path: %LOAD_BALANCER_VOLUME_PATH%
156-
157116
containers:
158-
159117
- name: domain1-apache-webtier
160-
161118
image: store/oracle/apache:12.2.1.3
162-
163119
imagePullPolicy: Never
164-
165120
# volumeMounts:
166-
167121
# - name: "domain1-apache-webtier"
168-
169122
# mountPath: "/config"
170-
171123
env:
172-
173124
- name: WEBLOGIC_CLUSTER
174-
175125
value: 'domain1-cluster-cluster-1:8001'
176-
177126
- name: LOCATION
178-
179127
value: '/weblogic'
180-
181128
#- name: WEBLOGIC_HOST
182-
183129
# value: 'domain1-admin-server'
184-
185130
#- name: WEBLOGIC_PORT
186-
187131
# value: '7001'
188-
189132
readinessProbe:
190-
191133
tcpSocket:
192-
193134
port: 80
194-
195135
failureThreshold: 1
196-
197136
initialDelaySeconds: 10
198-
199137
periodSeconds: 10
200-
201138
successThreshold: 1
202-
203139
timeoutSeconds: 2
204-
205140
livenessProbe:
206-
207141
tcpSocket:
208-
209142
port: 80
210-
211143
failureThreshold: 3
212-
213144
initialDelaySeconds: 10
214-
215145
periodSeconds: 10
216-
217146
successThreshold: 1
218-
219147
timeoutSeconds: 2
220-
221148
---
222-
223149
apiVersion: v1
224-
225150
kind: Service
226-
227151
metadata:
228-
229152
name: domain1-apache-webtier
230-
231153
namespace: default
232-
233154
labels:
234-
235155
weblogic.domainUID: domain1
236-
237156
weblogic.domainName: base_domain
238-
239157
spec:
240-
241158
type: NodePort
242-
243159
selector:
244-
245160
weblogic.domainUID: domain1
246-
247161
weblogic.domainName: base_domain
248-
249162
app: apache-webtier
250-
251163
ports:
252-
253164
- port: 80
254-
255165
nodePort: 30305
256-
257166
name: rest-https
258-
259167
```
260168

261169
Sample `weblogic-domain-apache-security.yaml` file for associated RBAC roles and role bindings.
262170

263171
```
264-
265172
---
266-
267173
kind: ClusterRole
268-
269174
apiVersion: rbac.authorization.k8s.io/v1beta1
270-
271175
metadata:
272-
273176
name: domain1-apache-webtier
274-
275177
labels:
276-
277178
weblogic.domainUID: domain1
278-
279179
weblogic.domainName: base_domain
280-
281180
rules:
282-
283181
- apiGroups:
284-
285182
- ""
286-
287183
resources:
288-
289184
- pods
290-
291185
- services
292-
293186
- endpoints
294-
295187
- secrets
296-
297188
verbs:
298-
299189
- get
300-
301190
- list
302-
303191
- watch
304-
305192
- apiGroups:
306-
307193
- extensions
308-
309194
resources:
310-
311195
- ingresses
312-
313196
verbs:
314-
315197
- get
316-
317198
- list
318-
319199
- watch
320-
321200
---
322-
323201
kind: ClusterRoleBinding
324-
325202
apiVersion: rbac.authorization.k8s.io/v1beta1
326-
327203
metadata:
328-
329204
name: domain1-apache-webtier
330-
331205
labels:
332-
333206
weblogic.domainUID: domain1
334-
335207
weblogic.domainName: base_domain
336-
337208
roleRef:
338-
339209
apiGroup: rbac.authorization.k8s.io
340-
341210
kind: ClusterRole
342-
343211
name: domain1-apache-webtier
344-
345212
subjects:
346-
347213
- kind: ServiceAccount
348-
349214
name: domain1-apache-webtier
350-
351215
namespace: default
352-
353216
```
354217

355-
356218
Here are examples of the Kubernetes resources created by the WebLogic Operator:
357219

358-
359220
```
360-
361221
NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE
362-
363222
bash-4.2$ kubectl get all |grep apache
364-
365223
deploy/domain1-apache-webtier 1 1 1 1 2h
366-
367-
368224
rs/domain1-apache-webtier-7b8b789797 1 1 1 2h
369-
370-
371225
deploy/domain1-apache-webtier 1 1 1 1 2h
372-
373-
374226
rs/domain1-apache-webtier-7b8b789797 1 1 1 2h
375-
376-
377-
378227
po/domain1-apache-webtier-7b8b789797-lm45z 1/1 Running 0 2h
379-
380-
381228
svc/domain1-apache-webtier NodePort 10.111.114.67 <none> 80:30305/TCP 2h
382229
383-
384-
385230
bash-4.2$ kubectl get clusterroles |grep apache
386-
387231
domain1-apache-webtier 2h
388232
389-
390-
391233
bash-4.2$ kubectl get clusterrolebindings |grep apache
392-
393234
domain1-apache-webtier 2h
394-
395235
```
396236

397-
398237
### Use your own plugin WL module configuration
399238

400-
401239
You can fine tune the behavior of the Apache plugin by providing your own Apache plugin configuration. You put your `custom_mod_wl_apache.conf` file in a local directory, for example, `<host-config-dir>` , and specify this location in the `create-weblogic-domain-inputs.yaml` file as follows:
402240

403241
```
404-
405242
# Docker volume path for APACHE
406-
407243
# By default, the VolumePath is empty, which will cause the volume mount be disabled
408-
409244
loadBalancerVolumePath: <host-config-dir>
410-
411245
```
412246

413247
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.
414248

415249
The generated YAML files will look similar except with un-commented entries like below:
416250

417251
```
418-
419252
volumes:
420-
421253
- name: "domain1-apache-webtier"
422-
423254
hostPath:
424-
425255
path: <host-config-dir>
426-
427256
containers:
428-
429257
- name: domain1-apache-webtier
430-
431258
image: store/oracle/apache:12.2.1.3
432-
433259
imagePullPolicy: Never
434-
435260
volumeMounts:
436-
437261
- name: "domain1-apache-webtier"
438-
439262
mountPath: "/config"
440-
441263
```
442264

443-
444-
445265
## Use the Apache load balancer with a manually created WebLogic Domain
446266

447267
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.

site/v1.0/architecture.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
> **WARNING** This documentation is for version 1.0 of the operator. To view documenation for the current release, [please click here](/site).
2+
13
# Architectural overview
24

35
The operator consists of the following two main parts:

site/v1.0/creating-domain.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
> **WARNING** This documentation is for version 1.0 of the operator. To view documenation for the current release, [please click here](/site).
2+
13
# Creating a WebLogic domain
24

35
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)).

site/v1.0/database.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
> **WARNING** This documentation is for version 1.0 of the operator. To view documenation for the current release, [please click here](/site).
2+
13
# Running the Oracle Database in Kubernetes
24

35
**PLEASE NOTE**: This page is a work in progress. We will update this with either better details about how to put the data files onto a persistent volume, or a pointer to the official Oracle Database Kubernetes pages, or both.

0 commit comments

Comments
 (0)