-
Notifications
You must be signed in to change notification settings - Fork 593
Closed
Description
The API has to let users express the notion of priority among containers. Consider the case when a web server is run alongside a logging container. The web-server is more important than the logging side-car container. When there is a resource crunch, the user doesn't mind killing one of the lower priority containers, which is logging in this case. Ideally, if all containers were to be run with limits, this might not be necessary. In reality though, setting limits is hard and users tend to over provision resources and that leads to poor resource utilization.
Since this notion of priority can be expressed in different ways, I propose letting users handle cgroup management and only expose the following knobs:
- CgroupsPath - This lets users manage cgroup hierarchies.
- OomScoreAdj - Apply a custom 'oom_score_adj' to the init process of the container.
Metadata
Metadata
Assignees
Labels
No labels