committed by
GitHub
1 changed files with 2 additions and 17 deletions
@ -1,20 +1,5 @@ |
|||
# Golang test project |
|||
|
|||
[](https://codeready-openshift-workspaces.apps.dev.itix.xyz/f?url=https://github.com/nmasse-itix/test-crw) |
|||
[](https://codeready-openshift-workspaces.apps.dev.itix.xyz/f?url=https://github.com/nmasse-itix/crw-sample-app) |
|||
|
|||
|
|||
A booster demonstrating health checks and recovery using the kubernetes/openshift |
|||
`liveliness` and `readiness` probes. |
|||
|
|||
|
|||
# How to run |
|||
The project uses openshift s2i to build docker image. Run the following command |
|||
to build the docker image |
|||
|
|||
```s2i build . registry.fedoraproject.org/f29/golang golang-health-check``` |
|||
|
|||
To start the web service, run |
|||
|
|||
```docker run -p 8080:8080 golang-health-check``` |
|||
|
|||
The web service should now be accessible on `http://localhost:8080` |
|||
TODO |
|||
|
|||
Loading…
Reference in new issue