Commit Graph

43 Commits

Author SHA1 Message Date
Alex Dadgar
ff48998942 Avoid serializes Allocation.Resources 2016-03-01 14:09:25 -08:00
Alex Dadgar
589be0312f Generic Scheduler handles periodic eval type 2016-02-24 16:20:33 -08:00
Alex Dadgar
62e723b15f Revert "err logs in worker and scheduler"
This reverts commit 7befc58652.
2016-02-22 22:23:57 -08:00
Alex Dadgar
7befc58652 err logs in worker and scheduler 2016-02-22 14:47:59 -08:00
Armon Dadgar
c6fa4d1181 nomad: add a sanity check guard 2016-02-22 12:15:40 -08:00
Armon Dadgar
790725d739 schedule: deduplicate the jobs 2016-02-21 11:32:56 -08:00
Armon Dadgar
260c9e2890 nomad: make PopulateServiceIDs more efficient 2016-02-21 11:15:00 -08:00
Alex Dadgar
13d1fd0730 Only set eligibility if the eval hasn't escaped 2016-02-11 09:45:27 -08:00
Alex Dadgar
cc0ad87230 Reset retry count if progress is made and fail by creating a blocked eval 2016-02-09 21:24:47 -08:00
Alex Dadgar
f9fb2ef3f8 Fix node drain 2016-02-03 12:00:43 -08:00
Alex Dadgar
8bf58d5292 Only replace batch allocations that have failed 2016-02-02 17:40:32 -08:00
Alex Dadgar
1797f0e67a Make computed node class a string and add versioning 2016-01-31 18:04:45 -08:00
Alex Dadgar
672f877d8c Schedulers create blocked eval if there are failed allocations 2016-01-31 18:04:45 -08:00
Alex Dadgar
892c7ddee3 Fix bug, add tests, and cli output 2016-01-04 14:23:06 -08:00
Alex Dadgar
251bcf106f Store the available nodes in the alloc metric 2016-01-04 12:07:33 -08:00
Diptanu Choudhury
cbc70a5465 Changed some comments 2015-12-14 18:05:58 -08:00
Diptanu Choudhury
f089e249c8 Renamed serviceId to serviceID 2015-12-14 15:57:56 -08:00
Diptanu Choudhury
d4d7572604 Making the allocs hold service ids 2015-12-14 15:08:35 -08:00
Alex Dadgar
9681d09d56 Initialize task state in allocation sent by scheduler 2015-11-16 15:14:21 -08:00
Alex Dadgar
2405101328 Remove base nodes from stack constructors 2015-10-16 17:05:23 -07:00
Alex Dadgar
5bbe7f67ca diffResult stores values not pointers 2015-10-16 11:43:09 -07:00
Alex Dadgar
0c5ee683e7 Add negative test to DriverIterator, increase system scheduler attempts, and fix evictAndPlace status message 2015-10-16 11:36:26 -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
Alex Dadgar
5cd9a55bcd Refactor shared code between schedulers 2015-10-14 18:39:44 -07:00
Alex Dadgar
b24f48a4ed System scheduler and system stack 2015-10-14 18:39:44 -07:00
Ivo Verberk
f9be8ede8f Fix vet warnings 2015-10-07 12:26:58 +02:00
Armon Dadgar
9afa2aeab6 scheduler: Allow rolling update, assign eval first.Fixes #91 2015-09-22 21:45:25 -07:00
Armon Dadgar
14009c5ce3 scheduler: ignore allocations in terminal state 2015-09-17 21:25:55 -07:00
Armon Dadgar
64b0bd43b4 scheduler: in-place update should preserve network offer 2015-09-13 17:06:34 -07:00
Armon Dadgar
ca67742fbb scheduler: thread through the TaskResources 2015-09-13 15:20:50 -07:00
Armon Dadgar
8a02dbc481 Use a single implementation of GenerateUUID 2015-09-07 15:23:03 -07:00
Armon Dadgar
9c4285c6fa scheduler: use update strategy for rolling updates 2015-09-07 15:17:39 -07:00
Armon Dadgar
666d66be23 scheduler: support in-place allocation updates 2015-09-07 12:27:12 -07:00
Armon Dadgar
b54eeec47d scheduler: share context and stack 2015-09-07 11:34:59 -07:00
Armon Dadgar
b566efd781 nomad: unifying the state store API 2015-09-06 20:56:38 -07:00
Armon Dadgar
69a3076d87 scheduler: updating for new APIs 2015-08-25 17:06:06 -07:00
Armon Dadgar
8b97638318 scheduler: update tests to filter terminal allocs 2015-08-23 16:30:57 -07:00
Armon Dadgar
f1360a3759 scheduler: coalesce failures by task group 2015-08-16 10:03:21 -07:00
Armon Dadgar
b2401ecc3c scheduler: update status and test retry limit 2015-08-15 14:47:13 -07:00
Armon Dadgar
57edecf9bb scheduler: create allocs for failed placements 2015-08-15 13:40:13 -07:00
Armon Dadgar
67833ebd9d nomad: associate alloc with eval 2015-08-15 13:08:06 -07:00
Armon Dadgar
6a39f5b5da scheduler: adding minor specialization for batch 2015-08-13 22:35:48 -07:00
Armon Dadgar
9217fb4347 scheduler: ServiceScheduler is now GenericScheduler with service and batch modes 2015-08-13 22:28:37 -07:00