+1 It'll also reduce master's workload; but instead of label, I'd like to make master simpler: return tasks page by page and let framework/dashboard to filter it themself.
---- Da (Klaus), Ma (马达) | PMP® | Advisory Software Engineer Platform Symphony/DCOS Development & Support, STG, IBM GCG +86-10-8245 4084 | klaus1982...@gmail.com | http://k82.me On Tue, Dec 29, 2015 at 6:09 AM, Diogo Gomes <diogo...@gmail.com> wrote: > Hi guys, I would like your opinion about a future feature proposal. > > Currently, we can use HTTP API to list all our tasks running in our > cluster using /master/tasks, but you have to list all tasks or limit/offset > this list, we cannot filter this. I would like to filter this, using > labels, for example. The use case will be to use mesos to fill our load > balancer with tasks data. > > > Marathon currently provides something like this, but only for his tasks, > using /v2/apps/?label=[key]==[value] > > > Diogo Gomes >