Skip to content

Commit 58388bb

Browse files
authored
Update README.md
1 parent 3936393 commit 58388bb

File tree

1 file changed

+26
-1
lines changed

1 file changed

+26
-1
lines changed

README.md

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,32 @@
1010
docker build -t submod/mnist-app -f Dockerfile_final .
1111

1212

13-
credits: @sugyan
13+
# Integration With OpenShift
14+
15+
Ensure that you are connected to an OpenShift project
16+
17+
```
18+
oc new-project test
19+
```
20+
21+
Create the template for mnist web application.
22+
23+
```
24+
oc create -f https://raw.githubusercontent.com/sub-mod/mnist-app/master/template.json
25+
```
26+
27+
Once the tensorflow serving endpoints are created deploy the mnist-app.
28+
This app needs 2 serving endpoints.For more details look here [tensorflow-serving-s2i](https://github.com/radanalyticsio/tensorflow-serving-s2i)
29+
30+
31+
```
32+
oc new-app --template=mnistapp --param=APPLICATION_NAME=mnist-app \
33+
--param=PREDICTION_SERVICE1=tf-reg \
34+
--param=PREDICTION_SERVICE2=tf-cnn
35+
```
36+
37+
### credits:
38+
The UI layer code was used with permission from Yoshihiro Sugi (@sugyan). The backend was redeveloped to work with tensorflow model server and openshift.
1439

1540

1641

0 commit comments

Comments
 (0)