There is (currently undocumented) under the scheduler's /vars or /vars.json endpoint.
empty_slots_* See https://github.com/apache/incubator-aurora/blob/master/src/main/java/org/apache/aurora/scheduler/stats/SlotSizeCounter.java The constants are defined here: https://github.com/apache/incubator-aurora/blob/master/src/main/java/org/apache/aurora/scheduler/base/ResourceAggregates.java#L29-L39 On Wed, Oct 1, 2014 at 2:24 PM, Josh Adams <j...@gmail.com> wrote: > Hi there, > > Is there a way to ask the Scheduler for a current headroom estimate (in > number of potential task "slots" available) for a given TaskConfig? > > I understand that I could do this manually by processing /state.json on the > Mesos master and joining that with info from a getJobsResult, but I'd > rather not reinvent the wheel if there's already something that does this. > > Thanks! > Josh >