Difficulty: Beginner
Estimated Time: 60 minutes

What is OpenShift

Red Hat OpenShift is solution build on top of Docker, Kubernetes to manage build and deployment of application on cluster of servers.

What you learn

In this section you learn OpenShift basics, get familiar with OpenShift core concept by building simple HTTP server and expose it to external world.

Let's begin.

In this section you learn OpenShift basics.

You get familiar with core types

  • ImageStream
  • BuildConfig
  • DeploymentConfig
  • ReplicationController
  • Pod
  • Service
  • Route

Hope you enjoyed.

OpenShift overview

Step 1 of 4

Logging to cluster

Logging in to the Cluster

First step, you need to login.

To login to the OpenShift cluster from the Terminal run:

oc login -u developer -p developer

This will log you in using the credentials:

  • Username: developer
  • Password: developer

Use the same credentials to log into the web console. (see OpenShift Console tab)

Creating your own Project

Next you need project.

A project is an isolation mechanism used to provide users ability to create resources while keeping them separate and secure from other OpenShift users.

To create a new project called myproject run the command: oc new-project myproject

You could instead create the project from the web console. If you do this, to change to the project from the command line run the command:

oc project myproject

Check information in Web Interface

Please check out project in OpenShift Console and get yourself familiar with user interface.