VESPA-DEPLOY(1)

NAME

vespa-deploy - Deploy (prepare and activate) an application package

SYNOPSIS

vespa deploy [application-directory-or-file] [flags]

DESCRIPTION

Deploy (prepare and activate) an application package.

When this returns successfully the application package has been validated and activated on config servers. The process of applying it on individual nodes has started but may not have completed.

If application directory is not specified, it defaults to working directory.

When deploying to Vespa Cloud the system can be overridden by setting the environment variable VESPA_CLI_CLOUD_SYSTEM. This is intended for internal use only.

In Vespa Cloud you may override the Vespa runtime version for your deployment. This option should only be used if you have a reason for using a specific version. By default Vespa Cloud chooses a suitable version for you.

OPTIONS

-A, --add-cert[=false]
    Copy certificate of the configured application to the current application package

-h, --help[=false]
    help for deploy

-l, --log-level="error"
    Log level for Vespa logs. Must be "error", "warning", "info" or "debug"

-V, --version=""
    Override the Vespa runtime version to use in Vespa Cloud

-w, --wait=0
    Number of seconds to wait for service(s) to become ready. 0 to disable (default 0)

OPTIONS INHERITED FROM PARENT COMMANDS

-a, --application=""
    The application to use (cloud only)

-C, --cluster=""
    The container cluster to use. This is only required for applications with multiple clusters

-c, --color="auto"
    Whether to use colors in output. Must be "auto", "never", or "always"

-i, --instance=""
    The instance of the application to use (cloud only)

-q, --quiet[=false]
    Print only errors

-t, --target="local"
    The target platform to use. Must be "local", "cloud", "hosted" or an URL

-z, --zone=""
    The zone to use. This defaults to a dev zone (cloud only)

EXAMPLE
    $ vespa deploy .
    $ vespa deploy -t cloud
    $ vespa deploy -t cloud -z dev.aws-us-east-1c  # -z can be omitted here as this zone is the default
    $ vespa deploy -t cloud -z perf.aws-us-east-1c

SEE ALSO

vespa(1)