Skip to content

Commit 5de2e5d

Browse files
Apply suggestions from code review
add jordan's suggestions Co-authored-by: Jordan Stephens <[email protected]>
1 parent dbb2a41 commit 5de2e5d

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

docs/concepts/deployments.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,22 @@ When you deploy using Defang, whether it's with `defang compose up` with a [Comp
1010

1111
## Deploying Updates
1212

13-
When you run a deployment to update one or more [services](/docs/concepts/services), Defang will also make sure to get your new services up and running before deprovisioning any old services so you don't have to worry about downtime.
13+
When you run a deployment to update one or more [services](/docs/concepts/services), Defang will build new images for your services, and provision new resources to replace your existing services.
14+
15+
### Zero Downtime Deployments
16+
17+
Defang can deploy your services using different [modes](/docs/concepts/deployment-modes). When using the `production` mode, Defang will make sure the new replacement services are healthy before deprovisioning your existing services.
18+
19+
By default, using the `development` mode, Defang will deprovision your existing services before provisioning replacements. This helps reduce costs.
1420

1521
:::info
1622
In [Defang BYOC](./defang-byoc.md), Defang uses your cloud provider account to build and store your images. In [Defang Playground](./defang-playground.md), we build and store your images for you.
1723
:::
1824

19-
Note that we offer different [deployment modes](/docs/concepts/deployment-modes): development, staging, and production. You can switch the modes using the CLI.
2025

26+
### Deployment Modes
27+
28+
As mentioned above, Defang offers different [deployment modes](/docs/concepts/deployment-modes): `development`, `staging`, and `production`. You can switch the modes using the `--mode` CLI flag.
2129
:::warning
2230
Workloads with GPUs do not support zero downtime deployments. If you have a workload with a GPU, you will experience downtime during updates.
2331
:::

0 commit comments

Comments
 (0)