Browse Source

Update README.md

master
Nicolas MASSE 4 years ago
committed by GitHub
parent
commit
d65f3fa0ac
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 19
      README.md

19
README.md

@ -1,20 +1,5 @@
# Golang test project
[![Contribute](https://www.eclipse.org/che/contribute.svg)](https://codeready-openshift-workspaces.apps.dev.itix.xyz/f?url=https://github.com/nmasse-itix/test-crw)
[![Contribute](https://www.eclipse.org/che/contribute.svg)](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…
Cancel
Save