Assumptions
This guide is based on the following assumptions:- You have a running VESSL Service on your organization.
- You have a running or stopped VESSL Service revision.
- You have the older version of
service.yamlfile as below format.
Start a migration
1
Get a new version of YAML by using CLI
You can get the new version of the YAML file by using the CLI.Save the output to a new file, for example,
new_service.yaml.2
Manage the revision
You can use the new YAML file to create a new revision.Add
--set-current-active or -a to set the new revision as the current active revision and activate the endpoint.Updating the revision
You can update traffic weight for the revision.Terminating the revision
You can terminate the revision.Reference: Differences between the old and new CLI
Reference: Difference in configuring the gateway.
You used to enable the gateway by hand in web or usingservice-gateway.yaml file.
Now you can manage gateway configuration by CLI.
- You can control traffic split with
vessl serve updatecommand.
- When the revisions are terminated or the service itself is deleted, the endpoint is automatically disabled.

