diff --git a/CHANGELOG.md b/CHANGELOG.md index 7d3ab09..15cf565 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed +- [#50] Set sensible resource requests and limits + ## [v14.17-1] - 2025-03-04 ### Changed - [#44] Execute necessary migration for all databases in post-upgrade script diff --git a/dogu.json b/dogu.json index 11cb038..6808bc2 100644 --- a/dogu.json +++ b/dogu.json @@ -71,23 +71,8 @@ "Optional": true, "Validation": { "Type": "BINARY_MEASUREMENT" - } - }, - { - "Name": "container_config/swap_limit", - "Description": "Limits the container's swap memory usage. Use zero or a positive integer value followed by one of these units [b,k,m,g] (byte, kibibyte, mebibyte, gibibyte). 0 will disable swapping.", - "Optional": true, - "Validation": { - "Type": "BINARY_MEASUREMENT" - } - }, - { - "Name": "container_config/memory_limit", - "Description": "Limits the container's memory usage. Use a positive integer value followed by one of these units [b,k,m,g] (byte, kibibyte, mebibyte, gibibyte).", - "Optional": true, - "Validation": { - "Type": "BINARY_MEASUREMENT" - } + }, + "Default": "238m" }, { "Name": "container_config/memory_request", @@ -96,7 +81,7 @@ "Validation": { "Type": "BINARY_MEASUREMENT" }, - "Default": "50m" + "Default": "238m" }, { "Name": "container_config/swap_limit", @@ -115,7 +100,7 @@ "Name": "container_config/cpu_core_request", "Description": "Requests the container's minimal CPU core requirement. Use a positive floating value describing a fraction of 1 CPU core. When you define a value of '0.5', you are requesting half as much CPU time compared to if you asked for '1.0' CPU.", "Optional": true, - "Default": "0.50" + "Default": "0.05" }, { "Name": "container_config/storage_limit",