Skip to content

Commit ed764d8

Browse files
committed
review fixes
1 parent 4e91758 commit ed764d8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

book/src/framework/components/resources.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ How quota and period works:
2626
- To allocate `0.5 CPU`, we set `CPUQuota = 50000` and `CPUPeriod = 100000`.
2727
- To allocate `2 CPUs`, we set `CPUQuota = 200000` and `CPUPeriod = 100000`.
2828

29-
When the `resources` key is not empty, we disable swap, ensuring the container goes OOM when memory is exhausted, allowing for more precise detection of sudden memory spikes.
29+
Read more about [CFS](https://engineering.squarespace.com/blog/2017/understanding-linux-container-scheduling).
30+
31+
When the `resources.memory_mb` key is not empty, we disable swap, ensuring the container goes OOM when memory is exhausted, allowing for more precise detection of sudden memory spikes.
3032

3133
Full configuration [example]()

0 commit comments

Comments
 (0)