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
Log in to the OpenShift CLI (oc):
oc login
oc login
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Display the current project space:
oc project -q
oc project -q
Copy to Clipboard Copied! Toggle word wrap Toggle overflow (Optional) Create a new OpenShift project:
oc new-project <project_name>
oc new-project <project_name>
Copy to Clipboard Copied! Toggle word wrap Toggle overflow