Skip to content

Latest commit

 

History

History

hello-openshift

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Hello, OpenShift!

This example will serve an HTTP response of "Hello OpenShift!" to http://localhost:6061. To create the pod run:

$ oc create -f examples/hello-openshift/hello-pod.json

If you need to rebuild the image:

$ go build -tags netgo   # avoid dynamic linking (we want a static binary)
$ mv hello-openshift bin
$ docker build -t docker.io/openshift/hello-openshift .