Is it possible to specify resource requirements (cpu, mem, ...) when scheduling a job in chronos via the REST API? I found there are configuration options that allow specifying general resource requirements for each task but I wonder whether it is possible to do this per job.

有帮助吗?

解决方案

Generally it's possible to restrict resources per task, but you have to use cgroups isolation on mesos slaves. However it seems that Chronos API doesn't support it yet (see github issue for more details). Mesos is being developed quite rapidly, be sure to check that it is supported in your version.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top