executor, scheduler: make default pod roles configurable

Currently if a pod is being scheduled with no meta.RolesKey label
attached to it, per convention the first configured mesos (framework)
role is being used.

This is quite limiting and also lets e2e tests fail. This commit
introduces a new configuration option "--mesos-default-pod-roles" defaulting to
"*" which defines the default pod roles in case the meta.RolesKey pod
label is missing.
This commit is contained in:
Sergiusz Urbaniak
2015-12-08 10:50:04 +01:00
parent 37a29cf47e
commit 67e98fcfa8
16 changed files with 130 additions and 93 deletions

View File

@@ -194,7 +194,8 @@ mesos-executor-mem
mesos-launch-grace-period
mesos-master
mesos-sandbox-overlay
mesos-roles
mesos-framework-roles
mesos-default-pod-roles
mesos-user
minimum-container-ttl-duration
minion-max-log-age