Skip to content

Commit

Permalink
docs: memory configuration docs updated
Browse files Browse the repository at this point in the history
  • Loading branch information
tanmoysrt committed Jun 2, 2024
1 parent 2dc8e04 commit 36b5d2f
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions docs/dashboard/application_details/deployment_configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,23 @@ In **Deployment Configuration** section, you can *scale up* or *scale down* the

![Deployment Configuration](/assets/2.0.x/application-deployment-configuration.png)

**Deployment Modes -**
### Deployment Modes
- **Replicated Mode** - In this mode, you can specify the number of instances you want to run for the application.
- **Global Mode** - In this mode, each server registered under swiftwave will run one instance of the application.

> 📌 Note: Currently you can't change the deployment strategy of the application. **Replicated** mode is suitable for most of the applications. If you don't know what to choose, then choose **Replicated** mode.
:::note

Currently you can't change the deployment strategy of the application. **Replicated** mode is suitable for most of the applications. If you don't know what to choose, then choose **Replicated** mode.

:::

### Memory Configuration
- **Memory Limit** - The maximum amount of memory that a programme within the container can use. If the program inside container exceeds the limit, the program will be killed.
- **Reserved Memory** - The amount of memory that will be allocated for the container. For this container, Swarm will attempt to allocate this amount of memory in a node.

:::info

- If you want to keep memory as unlimited, then set the **Memory Limit** to `0`.
- Provide, at least **6MB** of memory for the container.

:::

0 comments on commit 36b5d2f

Please sign in to comment.