Knative is a Kubernetes-based serverless framework. The main objective of Knative is to establish a cloud-native and cross-platform orchestration standard for serverless applications. This topic describes how to deploy Knative components in a cluster of Container Service for Kubernetes (ACK).

Prerequisites

  • Create a cluster of ACK Managed Edition.
    Notice
    • Knative 0.14.0 and later versions support only clusters of Kubernetes 1.15 and later. ACK Standard clusters, serverless Kubernetes (ASK) clusters, and clusters of ACK Proprietary Edition are supported.
    • For ACK Standard clusters and clusters of ACK Proprietary Edition, they must contain at least three worker nodes.
  • Deploy Istio.

    To enable Tracing Analysis, you must set Istio configurations. For more information, see Enable Tracing Analysis on Knative.

Procedure

  1. Log on to the ACK console.
  2. In the left-side navigation pane, choose Knative > Services.
  3. In the upper-right corner of the Knative Components page, click Deploy.
  4. Select the Knative components that you want to install and click Deploy.
    • Tekton: provides a flexible approach to create images from source code.
    • You can use Knative Serving to manage serverless applications. Knative Serving enables automatic scaling for pods where serverless applications are deployed based on Knative events and user requests. If no workload is processed, the number of pods is scaled to zero.
    • Knative Eventing: provides event management capabilities, such as producing and consuming events.

Result

After the deployment is complete, you can perform the following steps to view the result:
  • Click Go to Components to view component information.
  • Click Go to Applications to view application-related operations.
Verify the deployment result