Commit Graph

31 Commits

Author SHA1 Message Date
Chris Bednarski
1d1e4bdd08 Merge branch 'master' into f-port-labels 2015-11-16 16:02:38 -08:00
Alex Dadgar
9681d09d56 Initialize task state in allocation sent by scheduler 2015-11-16 15:14:21 -08:00
Diptanu Choudhury
51e3c9928b Fixing the scheduler tests 2015-11-16 13:10:57 -08:00
Alex Dadgar
c46447a572 Remove weight and hard/soft fields from constraint 2015-10-27 14:31:14 -07:00
Alex Dadgar
8fcefe0f3d Merge pull request #321 from hashicorp/f-unique-constraint
Add "distinctHost" constraint
2015-10-26 14:18:57 -07:00
Alex Dadgar
0f5e93edc8 Check for environment variable updates for tasks 2015-10-23 14:52:06 -07:00
Alex Dadgar
9f259c27f6 Fix test and simplify some boolean logic/fix metrics counting 2015-10-22 16:45:03 -07:00
Gregory Man
3c43318eb7 Make go vet happy 2015-10-21 15:47:36 +03:00
Alex Dadgar
2405101328 Remove base nodes from stack constructors 2015-10-16 17:05:23 -07:00
Alex Dadgar
927efaf4e0 Unit tests for the refactor scheduler methods 2015-10-16 16:35:55 -07:00
Alex Dadgar
7feb5f1978 Refactor task group constraint logic in generic/system stack 2015-10-16 14:00:51 -07:00
Alex Dadgar
5bfb712a7d Add diffSystemAlloc which gives richer information which node to place a system allocation 2015-10-15 13:14:44 -07:00
Chris Bednarski
cbc153c12f Added named ports 2015-09-22 13:59:16 -07:00
Armon Dadgar
65cd3b4ca7 schedule: avoid in-place update of task if network resources are different 2015-09-13 16:41:53 -07:00
Armon Dadgar
8a02dbc481 Use a single implementation of GenerateUUID 2015-09-07 15:23:03 -07:00
Armon Dadgar
916f2a7b8c scheduler: util method to diff task groups 2015-09-07 12:25:23 -07:00
Armon Dadgar
49488ecdba scheduler: pull node shuffle into util 2015-09-07 11:23:38 -07:00
Armon Dadgar
c27a0725cc nomad: cleanup API descrepencies 2015-09-06 20:47:42 -07:00
Armon Dadgar
7062eb5fa8 nomad: adding drain as node property 2015-09-06 19:47:02 -07:00
Armon Dadgar
69a3076d87 scheduler: updating for new APIs 2015-08-25 17:06:06 -07:00
Armon Dadgar
ae9c9aebd2 nomad: fixing vet errors 2015-08-15 16:10:10 -07:00
Armon Dadgar
74fa98ce64 scheduler: make diff less nasty 2015-08-13 18:28:09 -07:00
Armon Dadgar
096e24e36b scheduler: remove explicit index 2015-08-13 18:20:55 -07:00
Armon Dadgar
159e759498 scheduler: hide the indexing 2015-08-13 18:18:32 -07:00
Armon Dadgar
913af928fc scheduler: simplifying 2015-08-13 18:16:32 -07:00
Armon Dadgar
9ff140eb77 scheduler: trimming more fat 2015-08-13 18:05:31 -07:00
Armon Dadgar
dd2173753d schduler: refactor and test 2015-08-13 17:51:31 -07:00
Armon Dadgar
5df7d904df scheduler: trying to simplify further 2015-08-13 17:40:23 -07:00
Armon Dadgar
0155fd0e28 scheduler: refactor and test 2015-08-13 17:19:09 -07:00
Armon Dadgar
8bb8a304df scheduler: determine if any allocations need to be migrated 2015-08-13 16:47:39 -07:00
Armon Dadgar
057d226d3f scheduler: testing utility methods 2015-08-13 16:25:59 -07:00