[FEATURE]: Allow setting resource requests on the container module
See original GitHub issueFeature Request
Background / Motivation
Currently you can only set resource limits on container modules. But some users have requested setting resource requests as well.
Feels like this is generic enough to belong on the container
module. For example docker swarm has a resource reservations
field.
What should the user be able to do?
Set resource requests on a container module, similar to resource limits.
Why do they want to do this? What problem does it solve?
From community Slack:
For doing things like running tests in CI with garden, we might want to make sure we have the correct reservations
Suggested Implementation(s)
Same as for resource limits.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Resource Management for Pods and Containers - Kubernetes
Fractional requests are allowed. When you define a container with spec.containers[].resources.requests.cpu set to 0.5 , you are requesting ...
Read more >Limiting Resource Usage - Kube by Example
You should define resource requests and resource limits for each container in a deployment. If not, then the deployment definition will include a...
Read more >How to use resource requests and limits to manage ... - devmio
Setting up container resource requests and limits is a first step towards effectively using resources in your Kubernetes cluster. Make sure you always...
Read more >Manage compute resources container - Unofficial Kubernetes
Fractional requests are allowed. A Container with spec.containers[].resources.requests.cpu of 0.5 is guaranteed half as much CPU as one that asks for 1 CPU....
Read more >Kubernetes Best Practice: How to (Correctly) Set Resource ...
In this class, you set your resource requests and limits to exactly the same values, which guarantees that the resources requested by the ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Can we also be able to change the requests on tests/tasks as well?
We have some giant webpack builds and want to make sure they complete in a reasonable amount of time and don’t run out of memory.
Also mentioned to bump the default to 100m.