Lab 9.6 - Building an Application with The Source-to-Image (S2I)

1. Login to the cluster

oc login -u developer -p rahasia

2. Create a new project named s2i-images

oc new-project s2i-images

3. Build an application

oc new-app --as-deployment-config \
 --name=ruby-hello \

oc get pods

4. Verify the list of application builds:

oc get builds

5. List of the buildconfig:

oc get buildconfig

6. Trigger a new build of

oc start-build ruby-hello

7. Verify the builds

oc get builds
oc get pods