All Products
Search
Document Center

Container Compute Service:Update the Knative Serving component

Last Updated:Jan 03, 2025

Knative Serving is the core component of Knative. It provides serverless workload management capabilities. Knative Serving enables serverless deployment, version management, and canary releases for your applications. Knative Serving also supports pod auto scaling based on resource requests. If no traffic is processed, the number of pods is scaled to zero. We recommend that you update the Knative Serving component in the console at your earliest convenience to benefit from new features and fix bugs.

For more information about the release notes of Knative Serving, see Knative release notes.

Prerequisites

  • The Knative Serving component is installed. For more information, see Manage Knative components.

  • Knative Serving is updated to 0.10.x or later.

Procedure

Use the following steps to upgrade the Serving component to version 0.14.0. We recommend that you upgrade Knative Serving during off-peak hours. Knative Serving 0.14.0 provides the following features:

  • By default, a minimum of 20 latest Knative Service revisions are retained. The default retention period is 48 hours.

  • Highly reliable subcomponents are provided, such as controller and hpaautoscaler.

  1. Log on to the ACS console. In the left-side navigation pane, click Clusters.

  2. On the Clusters page, find the cluster that you want to manage and click its ID. In the left-side navigation pane of the cluster details page, choose Applications > Knative.

  3. On the Components tab, find Serving in the Core Component section, and click Upgrade.

    After Knative Serving is upgraded, the result is displayed, as shown in the following figure.结果