mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-07 00:48:01 +01:00
44 lines
1.3 KiB
Plaintext
44 lines
1.3 KiB
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
// * serverless/installing_serverless/installing-knative-serving.adoc
|
|
|
|
[id="serverless-create-serving-namespace_context"]
|
|
= Creating the `knative-serving` namespace
|
|
|
|
When you create the `knative-serving` namespace, a `knative-serving` project will also be created.
|
|
|
|
[IMPORTANT]
|
|
====
|
|
You must complete this procedure before installing Knative Serving.
|
|
====
|
|
|
|
If the `KnativeServing` object created during Knative Serving's installation is not created in the `knative-serving` namespace, it will be ignored.
|
|
|
|
.Prerequisites
|
|
* An {product-title} account with cluster administrator access
|
|
* Installed {ServerlessOperatorName}
|
|
|
|
[id="serverless-create-serving-project-web-console_{context}"]
|
|
== Creating the `knative-serving` namespace using the web console
|
|
|
|
.Procedure
|
|
. In the {product-title} web console, navigate to *Administration* → *Namespaces*.
|
|
+
|
|
image::serverless-create-namespaces.png[Namespaces page]
|
|
. Enter `knative-serving` as the *Name* for the project. The other fields are optional.
|
|
+
|
|
image::create-serving-namespace.png[Creating the `knative-eventing` namespace]
|
|
. Click *Create*.
|
|
|
|
[id="serverless-create-serving-project-oc_{context}"]
|
|
== Creating the `knative-serving` namespace using the CLI
|
|
|
|
.Procedure
|
|
. Create the `knative-serving` namespace:
|
|
+
|
|
|
|
[source,terminal]
|
|
----
|
|
$ oc create namespace knative-serving
|
|
----
|