In OpenShift a project is essentially a Kubernetes namespace enriched with additional annotations and metadata.
To create a project - OpenShift will create and set the project as the current project:
oc new-project my-demo-project --description="My demonstration project" --display-name="Demo Project"
Verify:
oc project
To deploy an application in the current project:
oc new-app --name=my-app --image=openshift/hello-openshift
Verify:
oc get pods
oc get all
oc describe project my-demo-project
To delete the project:
oc delete project my-demo-project
OpenShift will delete the project and all its associated resources.oc projects
You can do the same operations in the GUI