mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
35 lines
1.1 KiB
Plaintext
35 lines
1.1 KiB
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
// * getting-started/openshift-cli.adoc
|
|
|
|
:_mod-docs-content-type: PROCEDURE
|
|
[id="getting-started-cli-creating-new-project_{context}"]
|
|
= Creating a new project
|
|
|
|
A project enables a community of users to organize and manage their content in isolation. Projects are {product-title} extensions to Kubernetes namespaces. Projects have additional features that enable user self-provisioning.
|
|
|
|
Users must receive access to projects from administrators. Cluster administrators can allow developers to create their own projects. In most cases, users automatically have access to their own projects.
|
|
|
|
Each project has its own set of objects, policies, constraints, and service accounts.
|
|
|
|
.Prerequisites
|
|
|
|
* You must have access to an {product-title} cluster.
|
|
* You must have installed the OpenShift CLI (`oc`).
|
|
|
|
.Procedure
|
|
|
|
* To create a new project, enter the following command:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ oc new-project user-getting-started --display-name="Getting Started with OpenShift"
|
|
----
|
|
+
|
|
.Example output
|
|
|
|
[source,terminal]
|
|
----
|
|
Now using project "user-getting-started" on server "https://openshift.example.com:6443".
|
|
----
|