All Products
Search
Document Center

Container Service for Kubernetes:Knative overview

Last Updated:Jun 23, 2026

Run serverless workloads on Kubernetes with request-based auto scaling, scale-to-zero, and canary releases. Fully compatible with community Knative and Kubernetes APIs, ACK Knative adds reserved instances and AHPA predictive scaling.

Why use Knative in a Kubernetes cluster

Knative

Knative is a Kubernetes-based framework that defines a cloud-native, cross-platform orchestration standard for serverless applications through container builds, workload management, and event-driven models. Benefits include:

  • Focus on business logic: Knative simplifies application configuration and auto scaling so developers can focus on business logic instead of underlying resources.

  • Standardization: Deploying serverless applications requires compiling source code, managing deployments, and handling events. Community and vendor solutions often lack a unified standard. Knative provides a universal framework for serverless applications.

    For example, implement an event-driven architecture by writing and deploying a YAML custom resource (CR) in your cluster. This avoids deep integration with specific cloud products and simplifies cross-platform migration.

  • Ease of use: Knative packages code into container images, publishes them as services, and deploys functions to a Kubernetes cluster as containers.

  • Auto scaling and version management: Knative scales instances to zero when there is no traffic to save resources and supports version management and canary releases.

  • Event-driven: Knative provides a complete event model to ingest events from external systems and route them to services or functions.

The Introduction to the Knative application model describes the Knative Service application model.

Core components

Knative includes these core components:

  • Knative Serving: Manages serverless workloads with application deployment, multi-version management, request-based auto scaling, canary releases, and scale-to-zero when there is no traffic.

  • Knative Eventing: Integrates event sources and supports event registration, subscription, and filtering. Its event model decouples producers from consumers.

  • Knative Functions: Creates, builds, and deploys stateless, event-driven functions as Knative services on Kubernetes without deep knowledge of Kubernetes, containers, or Knative.

Why use ACK Knative

ACK Knative is fully compatible with community Knative and standard Kubernetes APIs, with enhanced product capabilities and broader solutions.

image
  • Enterprise-ready capabilities: One-click deployment eliminates the need to purchase resources or build the system yourself. The ACK console GUI simplifies Kubernetes and Knative operations.

  • Simplified operations:

    • Managed core components: ACK creates and manages Knative Serving and Knative Eventing in ACK clusters for high availability at no charge for component resources.

    • Managed gateways: ACK Knative offers Application Load Balancer (ALB), Service Mesh (ASM), and Kourier gateways. Except for community-compatible Kourier, ACK manages controllers for the other gateways as a fully managed, maintenance-free service.

  • Ecosystem integration: Integrates with Alibaba Cloud compute (ECI, ECS, and ACS), observability (Simple Log Service (SLS) and Prometheus), and application integration (EventBridge) so you can add logging, monitoring, alerting, continuous delivery, and event-driven capabilities to Knative services without provisioning servers or building services yourself.

  • Enhanced features: ACK Knative extends open source Knative with out-of-the-box solutions for real-world scenarios, such as:

See the Comparison between ACK Knative and open source Knative for differences between ACK Knative and open source Knative.

Use cases

Typical ACK Knative use cases:

Scenario

Description

Web service hosting

  • Simplified deployment: ACK Knative abstracts low-level Kubernetes details and simplifies workload deployment through Knative services.

  • Simplified multi-version management: The revision mechanism gives each revision a unique identifier for version management and rollbacks.

  • Simplified traffic splitting for canary releases: ACK Knative assigns traffic percentages to revision services for canary releases, A/B tests, and other deployment strategies.

Serverless applications

  • Focus on business logic: Developers focus on business logic instead of IaaS resources, with simplified application configuration and lower infrastructure operational costs.

  • On-demand resource usage and auto scaling: ACK Knative scales resources based on traffic and concurrency and scales instances to zero when there is no traffic.

AI workloads

  • Focus on business logic: In GPU and other heterogeneous computing scenarios, developers build and deploy AI tasks without maintaining underlying infrastructure.

  • On-demand resource usage and auto scaling: ACK Knative scales resources based on workload to reduce costs for inference services with fluctuating demand.

  • Portability: ACK Knative runs in any Kubernetes-compatible environment—cloud, on-premises data centers, or edge devices.

Event-driven workloads

Knative Eventing ingests events from external systems. For example, IoT devices can send sensor data to a Knative service. Configure ACK Knative event sources to receive data and trigger storage, real-time analysis, or monitoring and alerting.

Workflow

Workflow for using ACK Knative:

image

Step

Description

Prerequisites

An ACK managed cluster of version 1.22 or later. To upgrade your cluster, see Manually upgrade a cluster.

Deploy ACK Knative and install Knative Serving per Deploy and manage Knative components.

Select and deploy a gateway per Select a Knative gateway.

  • ALB: A fully managed gateway based on Alibaba Cloud ALB. Provides high-capacity traffic management with automatic scaling and no O&M overhead.

  • ASM: A managed, Istio-compatible platform for unified traffic management. Supports traffic shaping, mesh observability, and secure inter-service communication. Helps you manage services that run on heterogeneous computing infrastructure.

  • Kourier: A lightweight, open source gateway from the Knative community, built on Envoy. Provides essential routing and service discovery.

Service deployment and management

Specify the resource type:

Auto scaling:

Version management and canary releases:

Access to Knative services:

Advanced features

Event-driven: See Knative Eventing for the serverless event model, including external event sources, routing, subscription, and filtering.

Knative Functions: Deploy Knative Functions to create, deploy, and call functions in a Kubernetes cluster.

AI inference services:

Service mesh: Integrate Service Mesh (ASM) with Knative services for traffic management and service security.

Observability and cost management

Log collection: Collect logs from Knative services with SLS to collect, consume, deliver, query, and analyze log data non-intrusively.

Monitoring dashboard: View the Knative service monitoring dashboard in Managed Service for Prometheus for response latency, request concurrency, and more.

Monitoring and alerting: Configure alerting for Knative services with SLS log-based alert rules.

Enable the cost insights feature for Knative services to view resource usage and cost distribution.

Billing

When you use ACK Knative in an ACK cluster, no management fees are charged for ACK Knative. You are billed for created and used resources, such as cluster management fees, cloud servers, load balancer instances, and NAT gateways, based on their respective prices. See the Billing overview for ACK clusters and Cloud product resource fees.

FAQ

For ACK Knative issues, see the Knative FAQ.

For Knative questions, click here to join an organization.

References