question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[FEATURE]: Allow setting resource requests on the container module

See original GitHub issue

Feature 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:closed
  • Created 4 years ago
  • Reactions:3
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
mitchfriedmancommented, Feb 28, 2020

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.

1reaction
eysi09commented, Feb 26, 2020

Also mentioned to bump the default to 100m.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found