Skip to content

Demo application to demonstrate OpenShift features - Builds, S2I, Routes

Notifications You must be signed in to change notification settings

chornberger-c2c/oc-pod-uptime-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 

Repository files navigation

oc-pod-uptime-test

Perl script used for OpenShift testing - shows uptime of a node.

The application is built - without a Dockerfile - via source-to-image (s2i).

Traffic is coming in via a route object.

New Project

oc new-project uptime

New Build Config

oc -n uptime new-app https://github.com/chornberger-c2c/oc-pod-uptime-test.git

New Route

oc -n uptime expose svc/oc-pod-uptime-test

Verify

URL="$(oc -n uptime get route oc-pod-uptime-test -o jsonpath='{.spec.host}''{"\n"}')"
curl "${URL}"

About

Demo application to demonstrate OpenShift features - Builds, S2I, Routes

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages