/Kubernetes_with_openshift_nic

Deploy Hello world application on Openshift cluster

Primary LanguageHack

Kubernetes_with_openshift@NIC

Let's deploy simple php application on Openshift cluster

Follow these steps:

Step 1 : Sign-up for IBM Cloud Platform

http://ibm.biz/openshiftnic

GitHub Logo

Step 2: Get your Openshift cluster:

https://openshiftpakistan.mybluemix.net/

  1. lab_Key:oslab
  2. IBM_id: your email

GitHub Logo

Step 3: Please be sure to click: Prefill Cache button on the URL before submit

GitHub Logo

Step 4: You will see below image once you are successfully registered

GitHub Logo

Step 5: Login into your IBM account and you will able to see external account then select it

GitHub Logo

Step 6 : Go to resources and the see your cluster must be there

GitHub Logo

Step 7: Select the cluster and open web console

GitHub Logo

Step 8: On web console you will able to see openshift dashboard ,next select create project

GitHub Logo

Step 9: Get into your newly created project and next on top search for PHP Builder

GitHub Logo

Step 10: In Configuration

  1. Application name : phpapp
  2. Git Repository: https://github.com/mahsankhaan/Kubernetes_with_openshift_nic.git

GitHub Logo

Step 11: Select Build->log and check if image is successfully build

GitHub Logo

Step 12: Select Application->services and then Hostname link

GitHub Logo

Step 13: Finally your application is running on Openshift

GitHub Logo