ACK Knative is fully compatible with open source Knative and offers one-click deployment, so you do not have to purchase resources or build the system yourself. You can use the console to quickly deploy Knative, enable a Knative gateway, install Knative core components and various add-ons on demand, and upgrade the Knative Serving component.
Prerequisites
You have created an ACK managed cluster or an ACK dedicated cluster that runs Kubernetes 1.28 or later and has at least three worker nodes. To upgrade the cluster, see Manually upgrade a cluster.
Deploy Knative
Log on to the ACK console. In the left navigation pane, click Clusters.
On the Clusters page, click the name of your cluster. In the left navigation pane, click .
-
On the Add-ons tab, click Deploy Knative, select the Knative gateway to install, and then click Deploy.
For guidance on choosing a Knative gateway, see Choose a gateway for Knative.
ALB
Offers fully managed Ingress capabilities through Application Load Balancer (ALB) to manage traffic. It handles complex business routing, automatically discovers certificates, and supports the HTTP, HTTPS, and QUIC protocols. When you use ALB Ingress, you must select at least two vSwitches.
For more information about the regions and zones that ALB supports, see Regions and zones supported by ALB.
ImportantIf your cluster uses the Flannel network plug-in, you must configure the corresponding Kubernetes Service for Knative as NodePort. For more information, see Prerequisites.
ASM
Alibaba Cloud Service Mesh (ASM) provides a fully managed service mesh platform compatible with the open source Istio service mesh. It simplifies service governance, including traffic routing and splitting between services, authentication and security for inter-service communication, and service mesh observability, which significantly reduces development and O&M workloads.
Kourier
Kourier is a gateway from the Knative community that offers basic service routing. The Kourier component is deployed in your cluster and requires manual maintenance.
NoteTo use the Kourier gateway in an ACK Serverless cluster, you must enable PrivateZone (or CoreDNS).
After a successful deployment, you can click Go to Components to view component details, or click Go to Services to view Knative application details.
Related operations
-
To deploy an uninstalled component: On the Add-ons tab, find a component whose Status is Not Deployed and click Deploy in the Actions column. In the dialog box, click OK.
-
To uninstall a component: On the Add-ons tab, click Uninstall in the Actions column of the target component. In the dialog box, click OK.
-
To uninstall Knative: On the Add-ons tab, click Uninstall in the upper-right corner. In the dialog box, select I confirm that I have read the above information and want to uninstall Knative. and click OK.
-
Deploy Knative components
Knative provides the core components Knative Serving and Knative Eventing. It also supports add-ons, such as event sources for GitHub and Kafka, to extend its capabilities. You can deploy and manage these components in the console.
Log on to the ACK console. In the left navigation pane, click Clusters.
On the Clusters page, click the name of your cluster. In the left navigation pane, click .
-
Find the component whose Status is Not Deployed and click Deploy in the Actions column. In the dialog box that appears, click OK.
The deployment is successful when the component Status changes to Deployed.
To uninstall a component, click Uninstall in the Actions column for that component and follow the on-screen instructions.
ImportantUninstalling a Knative component deletes all its related Knative custom resource definitions (CRDs) and Knative Service resources. Proceed with caution.
Upgrade Knative Serving component
Knative Serving is a core component of Knative that manages serverless workloads. It provides capabilities such as application deployment, multi-version management, request-based auto scaling, and canary releases, and can scale application instances down to zero when there is no traffic. Upgrade the Knative Serving component from the console during off-peak hours to benefit from the latest features and bug fixes.
Upgrades are supported only for Knative managed by ACK. For the Knative Serving changelog, see Knative Release Notes.
Log on to the ACK console. In the left navigation pane, click Clusters.
-
On the Clusters page, click the name of the target cluster. In the left-side navigation pane, click Add-ons.
-
Select the Knative component and follow the on-screen instructions to upgrade the component in its card.
After the upgrade is complete, a success message appears on the page.
Related documents
-
For guidance on choosing a Knative gateway based on your business requirements, see Choose a gateway for Knative.
-
To quickly deploy a Knative service, see Quick start: Deploy a Knative service.
-
To implement service auto scaling based on request volume, see Enable auto scaling based on request volume.
-
For more information about how to deploy Knative Eventing and build an event-driven architecture, see Knative event-driven applications.