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 Massé f31978eac1 fix build 4 years ago
.openshiftio fix build 4 years ago
.theia initial commit 4 years ago
public initial commit 4 years ago
.gitignore initial commit 4 years ago
Dockerfile add a dockerfile 4 years ago
LICENSE initial commit 4 years ago
README.md Update README.md 4 years ago
devfile.yaml Update devfile.yaml 4 years ago
go.mod update go.* 4 years ago
go.sum update go.* 4 years ago
main.go include go-generate 4 years ago
tools.go Update tools.go 4 years ago

README.md

Golang test project

Contribute

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