Chapter 2. Installing a Single-node OpenShift Cluster

To use the Fabric8 Launcher tool on a local cloud, you must have a Single-node OpenShift Cluster installed and configured. You can use either Minishift or Red Hat Container Development Kit.

Procedure

  1. Follow the instructions for installing the Single-node OpenShift Cluster:

    Note

    The steps for installing Single-node OpenShift Cluster vary by platform.

  2. Verify you have the Single-node OpenShift Cluster installed and configured:

    $ minishift version
  3. Start and stop the Single-node OpenShift Cluster:

    $ minishift start
    ...
    $ minishift stop
    Stopping local OpenShift cluster...
    Cluster stopped.
  4. Determine the command to add the correct version of the oc binary to your path and run the command:

    Example Result of oc-env on Red Hat Container Development Kit

    $ minishift oc-env
    export PATH="/Users/john/.minishift/cache/oc/v3.5.5.8:$PATH"
    # Run this command to configure your shell:
    # eval $(minishift oc-env)
    
    $ eval $(minishift oc-env)

    Warning

    You must have the oc binary installed and it must match the version of the Single-node OpenShift Cluster you are using.