Skip to content

Commit 501fca4

Browse files
committed
improve example
1 parent b0a6466 commit 501fca4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ You can run this on OpenShift (e.g. http://appuio.ch) using the Web-GUI ("Add to
1010
oc new-app openshift/jboss-webserver31-tomcat8-openshift:1.1~https://github.com/appuio/springdemo.git
1111
oc patch bc/springdemo -p '{"spec":{"resources":{"limits":{"memory":"500Mi"}}}}'
1212
oc patch dc/springdemo -p '{"spec":{"template":{"spec":{"containers":[{"name":"springdemo","resources":{"limits":{"memory": "500Mi"}}}]}}}}'
13-
oc cancel-build springdemo
13+
oc cancel-build springdemo-1
1414
oc start-build springdemo
1515
oc expose service springdemo
1616
```
@@ -30,7 +30,7 @@ You can check out the healthcheck-page at /actuator/health
3030

3131
You can clean everything up with
3232
```
33-
$ oc delete all -l app=springdemo
33+
oc delete all -l app=springdemo
3434
```
3535

3636
For more information about templates: see https://docs.openshift.com/container-platform/latest/dev_guide/templates.html

0 commit comments

Comments
 (0)