Diptanu Choudhury
|
d94bb45ad3
|
Added some more comments
|
2016-08-31 14:06:31 -07:00 |
|
Diptanu Choudhury
|
52e9946da9
|
Implemented SetPrefferingNodes in stack
|
2016-08-30 16:17:50 -07:00 |
|
Diptanu Choudhury
|
ec73c768f1
|
Making the scheduler use LocalDisk instead of Resources.DiskMB
|
2016-08-25 12:27:42 -05:00 |
|
Diptanu Choudhury
|
ab94c8eed9
|
Marking allocations which are not terminal and are on down nodes as lost
|
2016-08-09 13:11:58 -07:00 |
|
Alex Dadgar
|
ac3328e812
|
Make scheduler mark allocations as lost
|
2016-08-03 15:57:46 -07:00 |
|
Diptanu Choudhury
|
8f0d2a2775
|
Fixed some more tests
|
2016-07-25 17:26:38 -07:00 |
|
Diptanu Choudhury
|
804ef1e932
|
Not setting the desired and client status of an allocation during in-place updates
|
2016-07-25 17:26:38 -07:00 |
|
Diptanu Choudhury
|
1cc0bc392b
|
Setting the number of queued allocations per task group
|
2016-07-25 17:26:38 -07:00 |
|
Sean Chittenden
|
a658299235
|
Misc typos
|
2016-06-16 16:17:17 -07:00 |
|
Sean Chittenden
|
95c9d1a63e
|
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
|
fb8d79a908
|
Blocked evals don't store TG alloc metrics
|
2016-05-27 11:26:14 -07:00 |
|
Alex Dadgar
|
3cbb89c61e
|
Merge pull request #1188 from hashicorp/f-no-failed-allocs
Failed Allocation Metrics stored in Evaluation
|
2016-05-24 20:06:28 -07:00 |
|
Alex Dadgar
|
958d677248
|
comment
|
2016-05-24 18:18:10 -07:00 |
|
Alex Dadgar
|
fcc57fbc66
|
rename SpawnedBlockedEval and simplify map safety check
|
2016-05-24 18:12:59 -07:00 |
|
Alex Dadgar
|
7167b93ba9
|
Add test to verify drain doesn't restart successful batch and add to ignore list
|
2016-05-24 17:47:03 -07:00 |
|
Alex Dadgar
|
b5ad18a7ea
|
Dont restart successfully finished batch allocations
|
2016-05-24 17:23:18 -07:00 |
|
Alex Dadgar
|
1feb57b047
|
Evals track blocked evals they create
|
2016-05-19 13:09:52 -07:00 |
|
Alex Dadgar
|
117b926e2b
|
inplaceUpdate returns the allocs that were updated in-place
|
2016-05-17 15:37:37 -07:00 |
|
Alex Dadgar
|
bed4cb7a9f
|
Fixes
|
2016-05-13 11:53:11 -07:00 |
|
Alex Dadgar
|
81f0286dd8
|
Merge branch 'master' into f-plan-endpoint
|
2016-05-11 15:39:36 -07:00 |
|
Alex Dadgar
|
24bfaa70ac
|
Fix switching diff structures
|
2016-05-11 15:36:28 -07:00 |
|
Alex Dadgar
|
8b45e2c474
|
Check if network asks have changed when checking task updates
|
2016-05-05 21:32:01 -07:00 |
|
Alex Dadgar
|
ab0b57a9a1
|
Initial plan endpoint implementation - WIP
|
2016-05-05 11:21:58 -07:00 |
|
Alex Dadgar
|
ff0dd9b81c
|
Task is not eligible for update if User, Meta, or Resources change
|
2016-04-25 17:20:25 -07:00 |
|
Alex Dadgar
|
7843ed1218
|
evict and replace when the artifacts of a task change
|
2016-03-15 19:32:49 -07:00 |
|
Alex Dadgar
|
ad92e50a24
|
Avoid serializes Allocation.Resources
|
2016-03-01 14:09:25 -08:00 |
|
Alex Dadgar
|
e42720c2f5
|
Fix progressMade in scheduler
|
2016-02-22 10:38:04 -08:00 |
|
Armon Dadgar
|
87447efa61
|
schedule: deduplicate the jobs
|
2016-02-21 11:32:56 -08:00 |
|
Armon Dadgar
|
0dbd4c46c9
|
nomad: make PopulateServiceIDs more efficient
|
2016-02-21 11:15:00 -08:00 |
|
Alex Dadgar
|
a47d5260c5
|
Reset retry count if progress is made and fail by creating a blocked eval
|
2016-02-09 21:24:47 -08:00 |
|
Alex Dadgar
|
41efdcb1c3
|
Add JobModifyIndex
|
2016-01-12 09:50:33 -08:00 |
|
Alex Dadgar
|
36752b9ed4
|
Store the available nodes in the alloc metric
|
2016-01-04 12:07:33 -08:00 |
|
Diptanu Choudhury
|
1c76715358
|
Re-initializing the service map for in place updates
|
2015-12-14 17:06:58 -08:00 |
|
Alex Dadgar
|
bdf7497f1b
|
Initialize task state in allocation sent by scheduler
|
2015-11-16 15:14:21 -08:00 |
|
Alex Dadgar
|
2b2b6c321a
|
Check for environment variable updates for tasks
|
2015-10-23 14:52:06 -07:00 |
|
Alex Dadgar
|
1a1febba4f
|
Unit tests for the refactor scheduler methods
|
2015-10-16 16:35:55 -07:00 |
|
Alex Dadgar
|
1ec921a3c2
|
Refactor task group constraint logic in generic/system stack
|
2015-10-16 14:00:51 -07:00 |
|
Alex Dadgar
|
ab9acb9edf
|
diffResult stores values not pointers
|
2015-10-16 11:43:09 -07:00 |
|
Alex Dadgar
|
70c39bd5a4
|
Add diffSystemAlloc which gives richer information which node to place a system allocation
|
2015-10-15 13:14:44 -07:00 |
|
Alex Dadgar
|
65fd28d7d1
|
Refactor shared code between schedulers
|
2015-10-14 18:39:44 -07:00 |
|
Alex Dadgar
|
494244ed06
|
System scheduler and system stack
|
2015-10-14 18:39:44 -07:00 |
|
Armon Dadgar
|
32f4e9e401
|
scheduler: tasks updated should only check if number of dynamic ports is different
|
2015-10-04 15:53:02 -04:00 |
|
Armon Dadgar
|
f71527dadf
|
schedule: avoid in-place update of task if network resources are different
|
2015-09-13 16:41:53 -07:00 |
|
Armon Dadgar
|
c2eff48412
|
scheduler: util method to diff task groups
|
2015-09-07 12:25:23 -07:00 |
|
Armon Dadgar
|
f1a93b0aa7
|
scheduler: pull node shuffle into util
|
2015-09-07 11:23:38 -07:00 |
|
Armon Dadgar
|
8bedd3769c
|
nomad: unifying the state store API
|
2015-09-06 20:56:38 -07:00 |
|
Armon Dadgar
|
5832b2f147
|
nomad: adding drain as node property
|
2015-09-06 19:47:02 -07:00 |
|
Armon Dadgar
|
2ee6947844
|
scheduler: updating for new APIs
|
2015-08-25 17:06:06 -07:00 |
|
Armon Dadgar
|
088cc37487
|
scheduler: update status and test retry limit
|
2015-08-15 14:47:13 -07:00 |
|
Armon Dadgar
|
3f16a21658
|
nomad: remove NodesByDatacenterStatus
|
2015-08-15 13:11:42 -07:00 |
|