문제

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