Chapter 4. Logging into cluster

Prerequisites

  • The kubectl CLI is installed.

    The kubectl CLI is automatically installed when you install oc as described in the OpenShift CLI documentation.

Procedure

  1. Start a terminal session to work on the west namespace and set the KUBECONFIG environment variable:

    $ export KUBECONFIG=$HOME/.kube/config-west

    This session is referred to later as the west terminal session.

  2. Log into the OpenShift cluster.