Create Application

  • Create a new deployment resource using the ibmcom/guestbook:v2 docker image in the project we just created.

oc create deployment myguestbook --image=ibmcom/guestbook:v2
oc get pods
  • Create a Kubernetes ClusterIP service for your app deployment. The service provides an internal IP address for the app that the router can send traffic to.

oc expose deployment myguestbook --type="NodePort" --port=3000

Last updated

Was this helpful?