1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-07 00:48:01 +01:00
Files
openshift-docs/modules/serverless-create-eventing-namespace.adoc
2020-09-30 18:43:42 +00:00

45 lines
1.4 KiB
Plaintext

// Module included in the following assemblies:
//
// * serverless/installing_serverless/installing-knative-eventing.adoc
[id="serverless-create-eventing-namespace_context"]
= Creating the `knative-eventing` namespace
When you create the `knative-eventing` namespace, a `knative-eventing` project will also be created.
[IMPORTANT]
====
You must complete this procedure before installing Knative Eventing.
====
If the `KnativeEventing` object created during Knative Eventing's installation is not created in the `knative-eventing` namespace, it will be ignored.
.Prerequisites
* An {product-title} account with cluster administrator access
* Installed {ServerlessOperatorName}
[id="serverless-create-eventing-project-web-console_{context}"]
== Creating the `knative-eventing` namespace using the web console
.Procedure
. In the {product-title} web console, navigate to *Administration* → *Namespaces*.
. Click *Create Namespace*.
+
image::serverless-create-namespaces.png[Namespaces page]
. Enter `knative-eventing` as the *Name* for the project. The other fields are optional.
+
image::create-eventing-namespace.png[Creating the `knative-eventing` namespace]
. Click *Create*.
[id="serverless-create-eventing-project-oc_{context}"]
== Creating the `knative-eventing` namespace using the CLI
.Procedure
. Create the `knative-eventing` namespace by entering:
+
[source,terminal]
----
$ oc create namespace knative-eventing
----