Oc project

From NovaOrdis Knowledge Base
Revision as of 21:46, 30 July 2017 by Ovidiu (talk | contribs) (Created page with "=Internal= * oc =Overview= "oc project" reports the current project. "oc projects" reports all projects. When used with an argument, "oc proje...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Internal

Overview

"oc project" reports the current project.

"oc projects" reports all projects.

When used with an argument, "oc project" switches to a different current project.

oc project <project_name>

Examples

oc projects
You have access to the following projects and can switch between them with 'oc project <projectname>':

default
kube-system
logging 
management-infra
openshift
openshift-infra
oc project logging
Now using project "logging" on server "https://master.openshift.novaordis.io:443".
oc project
Using project "logging" on server "https://master.openshift.novaordis.io:443".