Difficulty: Beginner
Estimated Time: 10 minutes

This is a playground for Red Hat OpenShift.

What are playgrounds?

Playgrounds give you a configured environment to start playing and exploring using an unstructured learning approach.

Playgrounds are great for experimenting and trying samples. To learn more about the technology then start with one of our labs

Don’t stop now! The next scenario will take about 20 minutes to complete. You can pause and come back at any time.

OpenShift Playground

Status Check

oc status

oc login -u system:admin https://[[HOST_IP]]:8443

oc get nodes

Deploy

oc create -f hello-pod.json

oc get pod hello-openshift

ip=$(oc get pod hello-openshift -o yaml |grep podIP | awk '{split($0,a,":"); print a[2]}'); echo $ip

curl $ip:8080

Dashboard

Dashboard at https://[[HOST_SUBDOMAIN]]-8443-[[KATACODA_HOST]].environments.katacoda.com

Interested in writing your own OpenShift scenarios and demos? Visit www.katacoda.com/teach