»deploy
Stanza
Placement | app -> deploy |
The deploy
stanza describes how an application is deployed.
A deploy takes a previously built artifact and stages it onto the target
deployment platform. The target deployment platform is pluggable and can be
Docker, Kubernetes, Nomad, EC2, and more. Read more about the
deploy phase of the application lifecycle here.
Exactly one deploy
stanza is required within an application stanza.
app "frontend" {
build {
use "docker" {}
registry {
# ...
}
}
deploy {
use "kubernetes" {}
hook {
# ...
}
}
# ...
}
»deploy
Parameters
»Required
use
(use)
- The plugin to use for deploying the application. For example, the "kubernetes" plugin will create a deployment within Kubernetes.