test
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Nicolas MASSE f43ecca3f9
Create devfile.yaml
4 years ago
.openshiftio initial commit 4 years ago
.theia initial commit 4 years ago
public initial commit 4 years ago
.gitignore initial commit 4 years ago
LICENSE initial commit 4 years ago
README.md initial commit 4 years ago
devfile.yaml Create devfile.yaml 4 years ago
go.mod initial commit 4 years ago
go.sum initial commit 4 years ago
main.go initial commit 4 years ago

README.md

Golang Health Check

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