mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-07 09:46:53 +01:00
46 lines
1.2 KiB
Plaintext
46 lines
1.2 KiB
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
// applications/projects/working-with-projects.adoc
|
|
|
|
[id="creating-a-project-using-the-CLI_{context}"]
|
|
= Creating a project using the CLI
|
|
|
|
If allowed by your cluster administrator, you can create a new project.
|
|
|
|
[NOTE]
|
|
====
|
|
Projects starting with `openshift-` and `kube-` are considered critical by {product-title}. As such, {product-title} does not allow you to create Projects starting with `openshift-` or `kube-` using the `oc new-project` command. Cluster administrators can create these Projects using the `oc adm new-project` command.
|
|
====
|
|
|
|
.Procedure
|
|
|
|
. Run:
|
|
|
|
[source,terminal]
|
|
----
|
|
$ oc new-project <project_name> \
|
|
--description="<description>" --display-name="<display_name>"
|
|
----
|
|
|
|
For example:
|
|
|
|
[source,terminal]
|
|
----
|
|
$ oc new-project hello-openshift \
|
|
--description="This is an example project" \
|
|
--display-name="Hello OpenShift"
|
|
----
|
|
|
|
[NOTE]
|
|
====
|
|
The number of projects you are allowed to create
|
|
ifdef::openshift-enterprise,openshift-webscale,openshift-origin,openshift-dedicated[]
|
|
may be limited by the system administrator.
|
|
endif::[]
|
|
ifdef::openshift-online[]
|
|
is limited.
|
|
endif::[]
|
|
After your limit is reached, you might have to delete an existing project in
|
|
order to create a new one.
|
|
====
|