Skip to content

A "Hello World" application from the book OpenShift for Developers (Wood and Tannous, O'Reilly, 2021).

Notifications You must be signed in to change notification settings

iBolski/helloword

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Hello, OpenShift for Developers!

This is a example that will serve an HTTP response of "Hello OpenShift for Developers!" written in Golang. It is also intended to be build and used with the Golang Source-to-Image builder image. This builder image is included in current versions of OpenShift (4.7 at the time).

Deploying on OpenShift

You can deploy this application on OpenShift using the following command:

oc new-app golang~https://github.com/openshift-for-developers/hello.git

Note: this example app is derived from the example at sclorg/golang-ex.

The response message can be set by using the RESPONSE environment variable. You will need to edit the pod definition and add an environment variable to the container definition and run the new pod.

About

A "Hello World" application from the book OpenShift for Developers (Wood and Tannous, O'Reilly, 2021).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%