Lab 2 - Using an existing image to create a project
for 4.3 - use the following link: https://github.com/IBM/openshift-on-ibm-cloud-workshops
Last updated
Was this helpful?
for 4.3 - use the following link: https://github.com/IBM/openshift-on-ibm-cloud-workshops
Last updated
Was this helpful?
For Red Hat OpenShift 4.3 please use the following link :
This is a quick lab that demonstrates how to deploy a public image from Docker Hub onto OpenShift. As starting point an image of the 'authors' microservice from this workshop has already been loaded on Docker Hub.
If it isn't already open, open the OpenShift Web Console from the IBM Cloud OpenShift dashboard.
In the 'Developer' view, select '+Add', and make sure your project is selected. Then click on 'Deploy Image':
Select 'Image name from external registry', enter 'nheidloff/authors:v1' as the image name, then click the search icon. This will retrieve and display image information from DockerHub.
Scroll down. Change 'Application Name' and 'Name' to "authors-img". Select 'Deployment Config' as 'Resource'. Leave the option to create a route checked. Click on 'Create'.
Look at the topology - click on "DC authors-img". In the 'Resources' view you can see a pod, a service, and a route:
Click on the URL of 'authors-img' Route, this will open the default Open Liberty Welcome page. Append '/openapi/ui' to the URL.
This opens the Open API user interface to try the REST API.
Continue with