clowder-framework / clowder2

Clowder v2 (in development)
Apache License 2.0
12 stars 6 forks source link

Add resource limits to Compose services #1164

Open manning-ncsa opened 3 months ago

manning-ncsa commented 3 months ago

On my 12 CPU, 16 GB RAM laptop (Ubuntu 22.04.4 LTS) the local deployment crashes the machine because it consumes too much memory. Consider adding resource limits and reservations to the service definitions so that developers can see what is expected and have an easy way to tune the values based on their hardware. The reservations values could be used to self-document the minimum system requirements for Clowder to function.

tcnichol commented 2 months ago

I'm going to go ahead and take this one.