Skip to main content

Revision YAML Field Types

Name

Service name created by the user.

Message

Write a message for the Service Revision. We recommend writing an identical message for each revision to distinguish them.

Image

The name of the docker image that will be used for inference. You can also use a custom docker image.

Resources

Write down the compute resources you want to use for Service. You can specify the resources you want to use in the Cluster settings.

Import

Write the datasets and volumes imported in the Revision container when the Revision is deployed.

Mount

Write down the volumes that will be mounted in the Revision Service container when the Revision is deployed.

Run

Write down what commands you want to run on the service container when the Revision is deployed.

Env

Write down the environment variables that will be set in the Revision Service container.

Ports

Write down the ports and protocols that the Revision Service container should open.

Autoscaling

Sets the value for how the Revision Pod will autoscale.