All Products
Search
Document Center

Container Service for Kubernetes:Create a revision

Last Updated:Dec 20, 2023

You can update a Knative Service by creating a new revision. If you want to roll back from a newly released application version to an earlier version, you need only to switch inbound traffic to the earlier version. This topic describes how to create a revision for a Knative Service.

Prerequisites

Create a revision

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

  2. On the Clusters page, click the name of the cluster that you want to manage and choose Applications > Knative in the left-side navigation pane.

  3. On the Services tab, select the namespace to which the Knative Service belongs and click the name of the Service.

  4. In the upper-right corner of the details page, click Create Revision.

  5. In the Basic Information step, configure the parameters and click Next.

    For more information about the parameters, see Configure revision parameters.

  6. In the Traffic Splitting Settings step, configure Revisions and Percent % and click Create.

    • Revisions: A revision is created each time a Knative Service is updated.

    • Percent %: The percentage of traffic that is forwarded to a revision. The sum of the traffic percentage values specified for all revisions must be 100%.

    You can view and delete revisions on the Revision Information tab of the details page of the Knative Service.

References

Deploy a canary release for a Knative Service