Commit Graph

17 Commits

Author SHA1 Message Date
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
Wojciech Tyczynski
960808bf08 Switch to versioned ListOptions in client. 2015-12-14 14:26:09 +01:00
Wojciech Tyczynski
a915b8b29a Merge pull request #18080 from wojtek-t/list_options_in_listwatch
Pass ListOptions to List in ListWatch.
2015-12-09 14:27:51 +01:00
deads2k
2ee3dfe415 update testapi to eliminate redundant fields 2015-12-07 15:54:26 -05:00
Wojciech Tyczynski
b0fcb5adef Pass ListOptions to List in ListWatch. 2015-12-07 11:53:53 +01:00
k8s-merge-robot
7644d34759 Merge pull request #15775 from mesosphere/sur-k8sm-482-resource-roles
Auto commit by PR queue bot
2015-12-01 05:36:52 -08:00
k8s-merge-robot
3bd23b185b Merge pull request #17730 from wojtek-t/use_unversioned_list_options_in_client
Auto commit by PR queue bot
2015-11-25 09:10:19 -08:00
k8s-merge-robot
d42030170b Merge pull request #15999 from aveshagarwal/master-issue-15624
Auto commit by PR queue bot
2015-11-24 17:07:10 -08:00
Wojciech Tyczynski
b6ef62af24 Use unversioned.ListOptions in clients. 2015-11-24 16:52:09 +01:00
Avesh Agarwal
001437a72f This commit fixes tests. 2015-11-24 09:16:12 -05:00
Sergiusz Urbaniak
9eae47c6e6 scheduler: implement role awareness 2015-11-23 17:27:14 +01:00
deads2k
a87d927588 update client.Config to use GroupVersion 2015-11-21 08:29:26 -05:00
Dr. Stefan Schimanski
1be1a8ce63 Rename SchedulerLoop -> Controller 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
4d99ee7e54 Rename NewScheduler -> New 2015-11-12 01:33:50 +01:00
Dr. Stefan Schimanski
3208100375 Move slave registry into framework package 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