Commit dfcf149a by Benedikt Ritter

Document what the OpenShift deployment will create

parent dac3709b
...@@ -31,6 +31,20 @@ The easiest way to deploy the sample application to OpenShift is to use the [Ope ...@@ -31,6 +31,20 @@ The easiest way to deploy the sample application to OpenShift is to use the [Ope
oc new-app codecentric/springboot-maven3-centos~https://github.com/codecentric/springboot-sample-app oc new-app codecentric/springboot-maven3-centos~https://github.com/codecentric/springboot-sample-app
``` ```
This will create:
* An ImageStream called "springboot-maven3-centos"
* An ImageStream called "springboot-sample-app"
* A BuildConfig called "springboot-sample-app"
* DeploymentConfig called "springboot-sample-app"
* Service called "springboot-sample-app"
If you want to access the app from outside your OpenShift installation, you have to expose the springboot-sample-app service:
```shell
oc expose springboot-sample-app --hostname=www.example.com
```
## Copyright ## Copyright
Released under the Apache License 2.0. See the [LICENSE](https://github.com/codecentric/springboot-sample-app/blob/master/LICENSE) file. Released under the Apache License 2.0. See the [LICENSE](https://github.com/codecentric/springboot-sample-app/blob/master/LICENSE) file.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment