Commit Graph

52 Commits

Author SHA1 Message Date
Alex Dadgar
ac1539d5d9 Sync namespace changes 2017-09-07 17:04:21 -07:00
Alex Dadgar
0129455876 Rolling node drains using max_parallel and stagger
This PR adds rolling node drains done at max_parallel and stagger of the
update spec. It brings it inline with old behavior.
2017-07-07 12:12:48 -07:00
Alex Dadgar
29e31af007 Attach eval id 2017-07-07 12:10:04 -07:00
Alex Dadgar
f72bbaa370 Client watches for allocation health using task state and Consul checks
This PR adds watching of allocation health at the client. The client can
watch for health based on the tasks running on time and also based on
the consul checks passing.
2017-07-07 12:10:04 -07:00
Alex Dadgar
019bb3ae58 Respond to review comments 2017-04-19 10:54:03 -07:00
Alex Dadgar
950171f094 non-purge deregisters 2017-04-15 17:08:05 -07:00
Alex Dadgar
5b75b29af4 Nomad builds 2017-02-07 20:31:23 -08:00
Diptanu Choudhury
5eb4e8adb3 Making the status command return the allocs of currently registered job 2016-11-24 16:31:30 +01:00
Diptanu Choudhury
58e5282378 Fixed the logic of calculating queued allocation in sys sched (#1724) 2016-09-20 12:05:19 -07:00
Diptanu Choudhury
396e45629b Renaming LocalDisk to EphemeralDisk (#1710)
Renaming LocalDisk to EphemeralDisk
2016-09-14 15:43:42 -07:00
Diptanu Choudhury
a6e0077f72 Implemented SetPrefferingNodes in stack 2016-08-30 16:17:50 -07:00
Diptanu Choudhury
e331186ee0 Introducing shared resources in alloc 2016-08-29 13:49:25 -07:00
Diptanu Choudhury
8e76a3d52a Ensuring resources are re-calculated properly in fsm 2016-08-26 20:13:11 -07:00
Diptanu Choudhury
1adfb15f7e Fixed some tests 2016-08-25 13:56:39 -05:00
Diptanu Choudhury
bcab2eb523 Added the chained alloc for system scheduler 2016-08-16 10:49:45 -07:00
Alex Dadgar
bc0e60ddb9 Plan on system scheduler doesn't count nodes who don't meet constraints 2016-08-11 15:26:25 -07:00
Diptanu Choudhury
928bfc6a1e Ensuring system sched doesn't increment queued count when nodes are filtered 2016-08-10 14:33:13 -07:00
Diptanu Choudhury
de4a098d7d Added scheduler tests 2016-08-09 14:52:25 -07:00
Diptanu Choudhury
2acd622891 Marking allocations which are not terminal and are on down nodes as lost 2016-08-09 13:11:58 -07:00
Alex Dadgar
3ec1f75d09 Make scheduler mark allocations as lost 2016-08-03 15:57:46 -07:00
Diptanu Choudhury
114245bbf8 Updated tests and added logic to system sched 2016-07-28 14:02:50 -07:00
Diptanu Choudhury
64a944c7ff Making the queued allocations bind late 2016-07-25 22:11:11 -07:00
Diptanu Choudhury
ddf10e106a Initializing the queued allocations late 2016-07-25 17:26:38 -07:00
Diptanu Choudhury
230a59ca16 Fixed some more tests 2016-07-25 17:26:38 -07:00
Diptanu Choudhury
5e86e9a829 Review comments 2016-07-25 17:26:38 -07:00
Diptanu Choudhury
03c6692f98 Fixed some bugs 2016-07-25 17:26:38 -07:00
Diptanu Choudhury
bac783a81e Setting the number of queued allocations per task group 2016-07-25 17:26:38 -07:00
Alex Dadgar
5d69584577 track failed allocations properly 2016-06-15 12:58:19 -07:00
Sean Chittenden
3e95ca61ef Per-comment, remove structs.Allocation's Services attribute.
Nuke PopulateServiceIDs() now that it's also no longer needed.
2016-06-10 15:54:39 -04:00
Alex Dadgar
f47d341c4e Blocked evals don't store TG alloc metrics 2016-05-27 11:26:14 -07:00
Alex Dadgar
92bddbc3a5 rename SpawnedBlockedEval and simplify map safety check 2016-05-24 18:12:59 -07:00
Alex Dadgar
6deadf1ccd Evals track blocked evals they create 2016-05-19 13:09:52 -07:00
Alex Dadgar
96ab783b3f Scheduler no longer produces failed allocations; failed alloc metrics stored in evaluation 2016-05-18 18:11:40 -07:00
Alex Dadgar
c37e48e723 inplaceUpdate returns the allocs that were updated in-place 2016-05-17 15:37:37 -07:00
Alex Dadgar
1303a4365a Initial plan endpoint implementation - WIP 2016-05-05 11:21:58 -07:00
Diptanu Choudhury
b9972856e5 Added a note about backward compatibility 2016-03-23 19:08:07 -07:00
Alex Dadgar
ff48998942 Avoid serializes Allocation.Resources 2016-03-01 14:09:25 -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
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
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
fa5beb7fe5 Populating service ids only if allocations can be placed for system jobs 2015-12-15 08:38:18 -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