Chapter 4. Deploying a booster to OpenShift Container Platform
Prerequisites
- Have a booster created using developers.redhat.com/launch or the Fabric8 Launcher tool in a Single-node OpenShift Cluster.
- Have access to an OpenShift Container Platform Web console.
-
Have the
ocCLI client installed.
Procedure
- Clone your booster Github repository, or download and extract the booster ZIP archive.
Get the command containing your authentication token for using the
ocCLI client with your OpenShift Container Platform Web Console:- Login to your OpenShift Container Platform Web console.
- Click on the question mark icon in the top right-hand corner of the Web console, next to your user name.
- Select Command Line Tools in the drop-down menu.
-
Find the text box that contains the
oc login …command with the hidden token, and click the button next to it to copy its content to your clipboard.
Paste the command you copied in the previous step into a terminal to authenticate your
ocCLI client with your OpenShift Container Platform account by using your authentication token.$ oc login OCP_URL --token=MYTOKEN
Create a new project.
$ oc new-project MY_PROJECT_NAME
- Navigate to the root directory of your booster.
Deploy your booster to OpenShift Container Platform.
If your booster uses Maven:
$ mvn clean fabric8:deploy -Popenshift
If your booster uses
npm.$ npm install && npm run openshift
-
Open the
README.adocfile in your booster’s project and follow the instructions for interacting with your booster.
Additional resources
Take a look at the different runtime guides to learn more about runtimes as well as their boosters:

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.