After you install the OpenShift Serverless Operator, you can install Knative Serving by following the procedures described in this guide.
This guide provides information about installing Knative Serving using the default settings. However, you can configure more advanced settings in the KnativeServing custom resource definition.
For more information about configuration options for the KnativeServing custom resource definition, see Advanced installation configuration options.
When you create the
knative-serving namespace, a
knative-serving project will also be created.
You must complete this procedure before installing Knative Serving.
KnativeServing object created during Knative Serving’s installation is not created in the
knative-serving namespace, it will be ignored.
An OpenShift Container Platform account with cluster administrator access
Installed OpenShift Serverless Operator
In the OpenShift Container Platform web console, navigate to Administration → Namespaces.
knative-serving as the Name for the project. The other fields are optional.
knative-serving namespace by entering:
$ oc create namespace knative-serving
An OpenShift Container Platform account with cluster administrator access.
Installed OpenShift Serverless Operator.
In the Administrator perspective of the OpenShift Container Platform web console, navigate to Operators → Installed Operators.
Check that the Project dropdown at the top of the page is set to Project: knative-serving.
Click Knative Serving in the list of Provided APIs for the OpenShift Serverless Operator to go to the Knative Serving tab.
Click the Create Knative Serving button.
In the Create Knative Serving page, you can install Knative Serving using the default settings by clicking Create.
You can also modify settings for the Knative Serving installation by editing the
KnativeServing object using either the form provided, or by editing the YAML.
Using the form is recommended for simpler configurations that do not require full control of
KnativeServing object creation.
Editing the YAML is recommended for more complex configurations that require full control of
KnativeServing object creation. You can access the YAML by clicking the edit YAML link in the top right of the Create Knative Serving page.
After you complete the form, or have finished modifying the YAML, click Create.
For more information about configuration options for the KnativeServing custom resource definition, see the documentation on Advanced installation configuration options.