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
An ACK managed cluster or ACK Serverless cluster is created. For more information, see Create an ACK Serverless cluster or Create an ACK managed cluster.
Knative is deployed in the cluster. For more information, see Deploy Knative in an ACK cluster or Deploy Knative in an ACK Serverless cluster.
Create a revision
Log on to the ACK console. In the left-side navigation pane, click Clusters.
On the Clusters page, click the name of the cluster that you want to manage and choose in the left-side navigation pane.
On the Services tab, select the namespace to which the Knative Service belongs and click the name of the Service.
In the upper-right corner of the details page, click Create Revision.
In the Basic Information step, configure the parameters and click Next.
For more information about the parameters, see Configure revision parameters.
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.