Skip to main content
Packages your code, builds the container image, provisions the workers, and exposes the service as an endpoint. When a deployment with the same name exists in the same project and branch, the command updates it and rolls out a new version. If a rollout is already in progress, the command fails. Wait for the rollout to finish, or pass --force-upgrade to update anyway. All configuration fields documented in Deploying models and services can be set in the config file or passed as options. Values passed as options override the config file.

Usage

Arguments

Options

Examples

Deploy with a config file
Deploy without a config file
Update during an active rollout