Installing Openshift Cluster

Refer to Openshift Installation Guide to install a Single Master and Multiple Nodes Cluster(This is only for Workshop & Demo usage, for a production environment please choose Single Master, Multiple etcd, and Multiple Nodes, ett senario).

Installing the OpenShift CLI

Once Installing Openshift Cluster finished, a kubectl and oc also be downloaded, make sure add to PATH, to verify use:

$ oc version
oc v1.5.0
kubernetes v1.5.2+43a9be4
features: Basic-Auth GSSAPI Kerberos SPNEGO

openshift v3.5.5.15
kubernetes v1.5.2+43a9be4
$ kubectl version
Client Version: version.Info{Major:"1", Minor:"5", GitVersion:"v1.5.2+43a9be4", GitCommit:"43a9be4", GitTreeState:"clean", BuildDate:"2017-04-27T20:19:51Z", GoVersion:"go1.7.5", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"5", GitVersion:"v1.5.2+43a9be4", GitCommit:"43a9be4", GitTreeState:"clean", BuildDate:"2017-05-11T13:33:09Z", GoVersion:"go1.7.4", Compiler:"gc", Platform:"linux/amd64"}

Login to the OpenShift

Usng the oc command and then specify the server that we want to authenticate to. Issue the following command:

oc login

Creating a project

Creating the wf-swarm-example project via issuing the following command:

oc new-project wf-swarm-example

Exploring the Web Console

OpenShift ships with a web-based console that will allow users to perform various tasks via a browser. To get a feel for how the web console works, open your browser and go to the following URL:

The first screen you will see is the authentication screen. Enter in the following credentials:

Welcome Page

After you have authenticated to the web console, you will be presented with a list of projects that your user has permission to work with. Click the project you created in Creating a project, you will be taken to the project overview page which will list all of the routes, services, deployments, and pods that you have running as part of your project. It looks like below.

Explore Page 2

results matching ""

    No results matching ""