Chapter 2. Configuring terminal sessions
This procedure describes how to configure your terminal sessions to use configurations to avoid problems as you configure Application Interconnect on different clusters.
The following table shows how you might set up your terminal sessions.
Table 2.1. Terminal sessions
| west terminal session | east terminal session |
|---|---|
$ kubectl get pods |
$ kubectl get pods |
Prerequisites
-
The OpenShift CLI is installed. See the OpenShift CLI documentation for more instructions on how to install
oc.
In OpenShift 4.6 and later, you can use the web terminal to perform the following procedure, as described in the web terminal documentation.
Procedure
Start a terminal session to work on the
westnamespace and set theKUBECONFIGenvironment variable:$ export KUBECONFIG=$HOME/.kube/config-west
This session is referred to later as the west terminal session.
Start a terminal session to work on the
eastnamespace and set theKUBECONFIGenvironment variable:$ export KUBECONFIG=$HOME/.kube/config-east
This session is referred to later as the east terminal session.
- In each terminal session, log into the OpenShift cluster.