Deployments
Deployments in Fleet define which server configurations (and therefore which images) are being deployed at which location and with how many instances. You can manage deployments using the CLI.
To create a deployment you will need to have a configuration and an image. You can create these using the CLI or the dashboard. You will also need to provide information about the location. You can use the locations commands to get information about available locations.
In code, we sometimes refer to deployments as AppLocationSettings
. This is the same thing as a deployment. In some
data structures (like in Server
) we refer to deployments in a appLocationSettingId
. We plan to deprecate this
terminology in the future.
Overview
The deployments
commands allow you to manage deployments of your app. You can create new deployments, list existing
deployments, and delete deployments that are no longer needed.
You can have multiple deployments at the same location with different configurations. Each deployment is tied to a specific configuration and location. You can change the number of instances for a deployment, but you cannot change the location afterwards. If you change the configuration, the deployment will be updated to use the new configuration and all server instances will be restarted with the new image.
Usage
odin fleet deployments <command>