This topic describes how to deploy Knative in a Kubernetes cluster.

Prerequisites

  • You have created a Kubernetes cluster and the cluster consists of three or more worker nodes. For more information, see Create a Kubernetes cluster.
  • You have deployed Istio in the cluster. For more information, see Deploy Istio.

    To enable Tracing Analysis, see Enable Tracing Analysis on Knative.

  • Currently, you can only deploy Knative in Standard Managed and Standard Dedicated clusters. The Kubernetes version must be 1.10 or later.

Procedure

  1. Log on to the Container Service console.
  2. In the left-side navigation pane, choose Knative > Components. In the upper-right corner, click Deploy.
    Deploy
  3. Select the components and click Deploy.
    Deploy
    • Bulid: Provides a flexible approach to building source code into images.
    • Serving: Manages serverless workloads, works smoothly with events, and provides scale-to-zero, request-based autoscaling capabilities.
    • Eventing: Provides comprehensive event management capabilities for consuming and producing events.

Result

After the deployment is complete, you can view the result as follows:
  • Click Go to Components to view component information.
  • Click Go to Applications to view application operations.
Deployment result