Specify resource constraints for step containers inside step config #2328
Unanswered
lonix1
asked this question in
Request a Feature
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
There are some resource limiting settings we can apply to step containers, e.g.
WOODPECKER_LIMIT_MEM
, which must be set in the woodpecker server'sdocker-compose.yml
.So those settings apply to ALL step containers in ALL pipelines for ALL repos.... not scalable at all.
(I must set those limits to match the most memory and cpu intensive containers in my server - in other words all containers get as much resources as the container which is the biggest pig. There are no big pigs and small pigs... they're all big. 🐷 So I must provision much more memory than I actually need, and as you know memory is not cheap.)
It would be nice to specify the resource limits for a step, inside the step, e.g.:
There is already discussion about a file-based config feature. It would be good to include this.
Beta Was this translation helpful? Give feedback.
All reactions