Chapter 7. Verifying the OpenShift project namespace

Prerequisites

  • Have access to a Red Hat OpenShift Container Platform cluster and the latest version of the OpenShift CLI (oc) installed.

Procedure

  1. Log in to the OpenShift CLI (oc):

    oc login
  2. Display the current project space:

    oc project -q
  3. (Optional) Create a new OpenShift project:

    oc new-project <project_name>