Commit Graph

10 Commits

Author SHA1 Message Date
James DeFelice
8c776b7eb9 host port mapping should be more consistent between scheduler and
controller-manager in k8sm:
  - rename host_port_endpoints flag to host-port-endpoints
  - host port mapping strategy in scheduler should be driven by host-port-endpoints flag
  - added host-port-endpoints to known flags
  - docs: scheduler should also be configured with host-port-endpoints
  - task recovery: be explicit about excluding mirror pods
2016-02-15 21:28:46 +00:00
Sergiusz Urbaniak
67e98fcfa8 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.
2015-12-14 15:18:39 +01:00
Sergiusz Urbaniak
9eae47c6e6 scheduler: implement role awareness 2015-11-23 17:27:14 +01:00
k8s-merge-robot
e71f43de93 Merge pull request #15976 from mesosphere/sur-k8sm-475-error-checking
Rebased previously reverted merge, just before this scheduler refactoring.

Auto commit by PR queue bot
2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
06a975e5ad Move podschedulers below components/algorithm 2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
7adfabecda Shorten component constructor names 2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
e04bfd0a3e Remove merrors package alias where possible 2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
bb53cc26d3 Reorder scheduler packages
- Scheduler implemenation -> components
- types -> toplevel scheduler package
- integration_test.go -> integration
2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
be57bd63e5 Introduce interfaces for all scheduler components 2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
29e58bab68 Move scheduler components into their own packages
- rename scheduler.{operations -> components}
- move each component into its own directory with doc.go file, for proper
  access isolation
2015-11-12 01:33:50 +01:00