Knative is an open-source serverless framework based on Kubernetes. It supports features such as request-driven autoscaling, scaling down to zero instances during inactivity, version management, and canary releases. ACS Knative is fully compatible with community Knative and provides a one-click deployment feature, eliminating the need to purchase resources and build the system yourself. You can deploy Knative and enable a Knative ingress through the console's graphical user interface (GUI).
Prerequisites
You have created an ACS cluster.
Procedure
-
Log on to the ACS console. In the left navigation pane, click Clusters.
-
On the Clusters page, click the name of the target cluster. In the left navigation pane, choose .
-
On the Add-ons tab, click Deploy Knative, select the Knative Gateway to install, and then click Deploy.
For more information about how to choose a Knative ingress, see Select a Knative ingress.
ALB
Provides fully managed ALB Ingress capabilities and a powerful traffic management method built on Application Load Balancer (ALB). It handles complex business routing, automatically discovers certificates, and supports the HTTP, HTTPS, and QUIC protocols.
NoteYou must select at least two VSwitches when using ALB Ingress. For information about the regions and zones that support ALB, see Regions and zones that support ALB.
ASM
Alibaba Cloud Service Mesh (ASM) is a fully managed service mesh platform that is compatible with the open-source Istio service mesh. ASM simplifies service governance, including traffic routing and splitting for inter-service calls, authentication for service communication, and mesh observability. This significantly reduces development and operations overhead.
Kourier
Kourier is a Knative community ingress that provides basic service routing capabilities. The Kourier component is deployed in your cluster and requires manual maintenance.
After the deployment completes, you can click Go to Components to view component information, or click Go to Services to view Knative application information.
Next steps
-
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.
-
References
-
To learn how to select a suitable Knative ingress based on your business needs, see Select a Knative ingress.
-
To learn how to quickly deploy a Knative Service, see Quickly deploy a Knative Service.
-
To learn how to configure autoscaling for a Knative Service based on the number of requests, see Configure autoscaling based on the number of requests.
-
To learn how to deploy the Knative Eventing component and implement event-driven features, see Knative Eventing.