-
Notifications
You must be signed in to change notification settings - Fork 660
Closed
Labels
Description
Currently we only support CPU and memory as resource type. In docker/swarm users have been asking to support arbitrary resources. Docker/swarm added a containerslots to limit number of containers as a mitigation. It falls short of supporting multi-category resource allocation. Here is an example docker-archive/classicswarm#2223.
It'd be great to allow user specify any resource, bandwidth, GPU count, disk space, or artificial ones. It could be scalar like 0.25 CPU, or discrete like GPU-1 (don't divide GPU). Swarm can handle these resource without knowing the physical meaning. CPU and memory are 2 resource instances.
@vieux provides pointer to Mesos resource description.
http://mesos.apache.org/documentation/latest/attributes-resources/
Reactions are currently unavailable