Setup Service Interconnect in Globex App namespace

The easiest way to install Red Hat Service Interconnect in a namespace on OpenShift is through the skupper CLI (Skupper is the name of the open-source upstream project of Red Hat Service Interconnect). In this lab, the skupper cli is available through the OpenShift Command Line terminal, so that you don’t have to install it locally on your workstation.

  1. Open the browser window pointing to the OpenShift Console at {openshift_cluster_console}[OpenShift console, window="console"]. Click on the openshift command line terminal icon icon on the top menu to open a terminal window.
    Make sure to select the correct namespace from the drop-down box (globex-skupper-{user_name})

    openshift command line terminal

    Click Start to start and open the terminal.

  2. After a couple of seconds, the terminal is up and running. Also note the terminal deployment in the topology view (make sure to select the globex-skupper-{user_name} namespace in the project dropdown box).

    openshift command line terminal 2

    If you prefer, you can maximize the terminal in a new browser tab by clicking on the openshift command line terminal icon maximize icon.

  3. In the terminal, check that you are logged in into the OpenShift cluster.

    oc whoami
    Output
    {user_name}
  4. Check that the skupper CLI is available in the terminal:

    skupper version
    Output
    client version                 1.5.3-rh-5
    transport version              not-found
    controller version             not-found
    config-sync version            not-found
    flow-collector version         not-found'
  5. Install the Red Hat Service Interconnect resources in the globex-skupper-{user_name} namespace:

    skupper init -n globex-skupper-{user_name} --enable-console --enable-flow-collector --console-auth unsecured
    Output
    Waiting for status...
    Skupper is now installed in namespace "globex-skupper-{user_name}".  Use 'skupper status' to get more information.
  6. This installs 3 new components in the namespace: skupper-service-controller, skupper-router and skupper-prometheus, as you can see in the Topology view:

    openshift console topology skupper 2
  7. Service Interconnect also comes with its own console, which you can access by opening a new browser tab and navigating to {skupper_console_aws}[Service Interconnect, window="skupper"]. At the moment there is not a lot to see as we have only installed one side of the service network.

    skupper console