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: docs-source/content/ohs/create-ohs-container/_index.md
+45-45Lines changed: 45 additions & 45 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,9 +30,9 @@ The nodeport is the entry point for OHS. For example `http://ohs.example.com:317
30
30
1. Edit the `$MYOHSFILES/ohs_service.yaml` and make the following changes:
31
31
32
32
+`<NAMESPACE>` to your namespace, for example `ohsns`.
33
-
+ If you want your OHS node port to listen on something other that 31777 and 31443, change accordingly
34
-
+ If you are using your own `httpd.conf` file and have changed the port to anything other than `7777`, you must change the `targetPort` and `port` to match.
35
-
+ If you are using your own `ssl.conf` file and have changed the port to anything other than `4443`, you must change the `targetPort` and `port` to match.
33
+
+ If you want your OHS node port to listen on something other that 31777 and 31443, change accordingly
34
+
+ If you are using your own `httpd.conf` file and have changed the port to anything other than `7777`, you must change the `targetPort` and `port` to match.
35
+
+ If you are using your own `ssl.conf` file and have changed the port to anything other than `4443`, you must change the `targetPort` and `port` to match.
36
36
37
37
38
38
```
@@ -63,33 +63,33 @@ The nodeport is the entry point for OHS. For example `http://ohs.example.com:317
63
63
64
64
**Note**: Administrators should be aware of the following:
65
65
66
-
+ As this is a Kubernetes service the port is accessible on all the worker nodes in the cluster.
67
-
+ If you create another OHS container on a different port, you will need to create another nodeport service for that OHS.
66
+
+ As this is a Kubernetes service the port is accessible on all the worker nodes in the cluster.
67
+
+ If you create another OHS container on a different port, you will need to create another nodeport service for that OHS.
68
68
69
69
70
70
```
71
-
$ kubectl create -f $MYOHSFILES/ohs_service.yaml
71
+
$ kubectl create -f $MYOHSFILES/ohs_service.yaml
72
72
```
73
73
74
-
The output will look similar to the following:
74
+
The output will look similar to the following:
75
75
76
76
```
77
77
service/ohs-domain-nodeport created
78
78
```
79
79
80
80
1. Validate the service has been created using the command:
81
81
82
-
```
82
+
```
83
83
$ kubectl get service -n <namespace>
84
-
```
84
+
```
85
85
86
-
For example:
86
+
For example:
87
87
88
88
```
89
89
$ kubectl get service -n ohsns
90
-
```
90
+
```
91
91
92
-
The output will look similar to the following:
92
+
The output will look similar to the following:
93
93
94
94
```
95
95
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
@@ -117,50 +117,50 @@ In this section you create the OHS container using the `ohs.yaml` file created i
117
117
deployment.apps/ohs-domain created
118
118
```
119
119
120
-
Run the following command to view the status of the pods:
120
+
Run the following command to view the status of the pods:
121
121
122
-
```bash
122
+
```bash
123
123
$ kubectl get pods -n <namespace> -w
124
124
```
125
125
126
-
For example:
126
+
For example:
127
127
128
128
129
129
```bash
130
130
$ kubectl get pods -n ohsns -w
131
131
```
132
132
133
-
Whilst the OHS container is creating you, may see:
133
+
Whilst the OHS container is creating you, may see:
**Note:**`oracle:root` is used for OpenShift which has more stringent policies. Users who do not want those permissions can change to the permissions they require.
194
+
**Note:**`oracle:root` is used for OpenShift which has more stringent policies. Users who do not want those permissions can change to the permissions they require.
196
195
197
196
198
197
1. Create the `<workdir>/imagetool-setup/docker-images/OracleHTTPServer/buildArgs` file as follows and change the following:
199
198
200
199
+ `<workdir>` to your working directory, for example `/scratch/`
201
-
+ `%BUILDTAG%` to the tag you want create for the image, for example `oracle/ohs:12.2.1.4-db19`
202
-
+ `%JDK_VERSION%` to the version of your JDK, for example `8uXXX`
203
-
+ `<user>` to your [My Oracle Support](https://support.oracle.com) username
200
+
+ `%BUILDTAG%` to the tag you want create for the image, for example `oracle/ohs:12.2.1.4-db19`
201
+
+ `%JDK_VERSION%` to the version of your JDK, for example `8uXXX`
202
+
+ `<user>` to your [My Oracle Support](https://support.oracle.com) username
204
203
205
204
```
206
205
create
@@ -235,7 +234,7 @@ The following files are used for creating the image:
235
234
```
236
235
237
236
238
-
Refer to [this page](https://oracle.github.io/weblogic-image-tool/userguide/tools/create-image/) for the complete list of options available with the WebLogic Image Tool `create` command.
237
+
Refer to [this page](https://oracle.github.io/weblogic-image-tool/userguide/tools/create-image/) for the complete list of options available with the WebLogic Image Tool `create` command.
239
238
240
239
##### Create the image
241
240
@@ -284,14 +283,14 @@ The following files are used for creating the image:
284
283
1. If you want to see what patches were installed, you can run:
0 commit comments