Deploy an application to production
Deploy an application to production.
This commands uploads an application package to Vespa Cloud and deploys it to the production zones specified in deployment.xml.
Nodes are allocated to the application according to resources specified in services.xml.
For more information about production deployments in Vespa Cloud see: https://cloud.vespa.ai/en/production-deployment https://cloud.vespa.ai/en/automated-deployments https://cloud.vespa.ai/en/reference/vespa-cloud-api#submission-properties
vespa prod deploy [application-directory-or-file] [flags]
$ mvn package # when adding custom Java components
$ vespa prod deploy
-A, --add-cert Copy certificate of the configured application to the current application package (default false)
--author-email string Email of the author of the commit being deployed
--commit string Identifier of the source code being deployed. For example a commit hash
--description string Description of the source code being deployed. For example a git commit message
-h, --help help for deploy
--risk int The risk score of source code being deployed. 0 to ignore (default 0)
--source-url string URL which points to the source code being deployed. For example the build job running the submission
-a, --application string The application to use (cloud only)
-C, --cluster string The container cluster to use. This is only required for applications with multiple clusters
-c, --color string Whether to use colors in output. Must be "auto", "never", or "always" (default "auto")
-i, --instance string The instance of the application to use (cloud only)
-q, --quiet Print only errors
-t, --target string The target platform to use. Must be "local", "cloud", "hosted" or an URL (default "local")
-z, --zone string The zone to use. This defaults to a dev zone (cloud only)