The purpose of this guide is to assist you in deploying the workshop content onto your Openshift cluster.

Select your deployment:

  • Openshift Version 4.2 or 4.3
  • Logged into OC in terminal
  • Clone Openshift 4 101 Workshop Github directory
  • From the Infrastructure Provider page on the Red Hat OpenShift Cluster Manager site, navigate to the page for your installation type and click Download Command-line Tools.
  • Click the folder for your operating system and architecture and click the compressed file.
  • Save the file to your file system.
  • Extract the compressed file.
  • Place it in a directory that is on your PATH.
  • After you install the CLI, it is available using the oc command:
    $ oc [command] 
  • Log in to your Openshift Cluster
  • Run this single line command to deploy your workshop into any bare Openshift cluster in the workshop namespace:
  • $ oc new-project workshop && oc process -f https://raw.githubusercontent.com/openshift-homeroom/workshop-spawner/develop/templates/hosted-workshop-production.json --param CLUSTER_SUBDOMAIN=apps.$(oc get dns cluster -o jsonpath --template "{.spec.baseDomain}") --param WORKSHOP_IMAGE=quay.io/tonykhbo/ocp4-workshop-101:master --param SPAWNER_NAMESPACE=workshop --param WORKSHOP_NAME=openshift | oc apply -f - && oc get route
  • The command should output a URL. This is your spawner route that your students will navigate to and access their contained workshop.
  • The script will only deploy 1 spawner pod, so scale up depending on the size of your lab. The spawner pod is responsible for provisioning the workshop image pod for each user.
  • Once they navigate to the spawner url, they will need to log into Openshift using their lab credentials and it'll redirect them to the spawner landing page.
  • The spawner landing page will allow the users to spawn their own workshop pod in your cluster. After the workshop pod comes up, the landing page will automatically redirect your user to the workshop content.
Efficiently unleash cross-media information without cross-media value. Quickly maximize timely deliverables for real-time schemas.

Dramatically maintain clicks-and-mortar solutions without functional solutions.