In VESSL Service, the Revisions tab provides detailed information about different configurations of a model service, effectively serving as a recipe that includes the model used, the resources it needs, how it can scale, and how it’s accessed. Revisions are crucial as they help manage different setups and enable rollback to previous configurations if necessary.

Revisions—Provisioned Mode

Creating and managing revisions

For provisioned services, to create a new revision, navigate to the list of revisions and select New revision. This opens a configuration page where you can specify.

Deployment specifications

  • Service Account Name: Specify a Kubernetes service account for cloud resource access control.
  • Environment Variables: Define environment variables for the container.
  • Advanced Options: Include settings like the minimum and maximum number of replicas and the metrics used for autoscaling decisions.

Actions on revisions

For the provisioned services, you can perform several actions directly from the list of revisions:

  • Stop: Immediately halt the currently deployed and running revision.
  • Scale: Adjust the number of replicas for the deployed and running revision.
  • Delete: Remove the selected revision.
  • Export: Export the YAML file of the selected Revision.

Serverless revisions

Revision configuration

Serverless revisions are immutable configurations that specify the exact setup of a model service:

  • Resources: Clearly defines the compute resources, such as CPU and memory allocations.
  • Container image: Specifies the Docker image used, typically a VESSL managed image.
  • Commands: Configures the command to run inside the container, including the working directory.
  • Port configuration
    • Name and Number: Identifies the exposed port, crucial for external access to the service.

Editing revisions

Revisions in Serverless Mode can be edited by clicking the Edit button, allowing updates to resource allocations and command configurations.