Installing Knative Serving allows you to create Knative services and functions on your cluster. It also allows you to use additional functionality such as autoscaling and networking options for your applications.
After you install the OpenShift Serverless Operator, you can install Knative Serving by using the default settings, or configure more advanced settings in the
KnativeServing custom resource (CR). For more information about configuration options for the
KnativeServing CR, see Global configuration.
If you want to use Red Hat OpenShift distributed tracing with OpenShift Serverless, you must install and configure Red Hat OpenShift distributed tracing before you install Knative Serving.
After you install the OpenShift Serverless Operator, install Knative Serving by using the OpenShift Container Platform web console. You can install Knative Serving by using the default settings or configure more advanced settings in the
KnativeServing custom resource (CR).
You have access to an OpenShift Container Platform account with cluster administrator access.
You have logged in to the OpenShift Container Platform web console.
You have installed the 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 Create Knative Serving.
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.
After you have installed Knative Serving, the
KnativeServing object is created, and you are automatically directed to the Knative Serving tab. You will see the
knative-serving custom resource in the list of resources.
knative-serving custom resource in the Knative Serving tab.
You will be automatically directed to the Knative Serving Overview page.
Scroll down to look at the list of Conditions.
You should see a list of conditions with a status of True, as shown in the example image.