Using Skupper with OpenShift
Prerequisites
- You must have access to an OpenShift cluster.
- You must install the OpenShift command-line tool (
oc).
Note: The oc command is a kubectl equivalent with extensions
for OpenShift. The Skupper getting started guide uses kubectl for
the core Kubernetes operations, but you can safely use oc instead.
For example, kubectl create namespace west and oc create namespace west have the same effect.
Cluster access
Using the command line
Use the oc login command with the URL of your OpenShift cluster and
your username.
oc login openshift.example.net:6443 -u alice
The command will prompt you for any needed credentials or login details.
See the instructions for logging in for more information.
Using the console
You can also use the OpenShift console to generate an oc login
command that you can paste into your console session.
- Navigate to the OpenShift console and log in.
- Select the menu for your account in the top right of the page.
- Select Copy Login Command. Follow the prompts until you have an
oc logincommand to copy. - Paste the
oc logincommand into your console session. - Use the
oc projectcommand to select your namespace.