Refactor offer filters to be selected by name
mwl opened this issue · comments
Martin Westergaard Lassen commented
Like mesos.resources.filter=distinctHost
rather than mesos.resources.distinctHost=true
Martin Westergaard Lassen commented
I'm currently looking into configuration layout. Some filters needs parameters as well, for instance the scale.
If we're doing it the Spring way, it'll look something like this, which I don't find very elegant.
mesos:
filters:
distinctSlave:
enabled: true
scale:
enabled: true
factor: 3
resources:
enabled: true
cpus: 0.1
mem: 64
So I'm open for suggestions.