Alex Dadgar
ff48998942
Avoid serializes Allocation.Resources
2016-03-01 14:09:25 -08:00
Alex Dadgar
d48ee01bd2
format
2016-02-22 13:24:26 -08:00
Alex Dadgar
2a11511f2d
Fix progressMade in scheduler
2016-02-22 10:38:04 -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
Ivo Verberk
ab9409184a
Shorten CLI identifiers
...
* Truncate all UUID identifiers to eight characters by default
* Refactor the node identifier to an auto-generated UUID
* Created and updated tests and mocks
2016-01-14 21:57:43 +01:00
Alex Dadgar
47fbfd3000
Add JobModifyIndex
2016-01-12 09:50:33 -08:00
Alex Dadgar
c51b69a825
Fix counts
2016-01-04 14:33:10 -08:00
Alex Dadgar
251bcf106f
Store the available nodes in the alloc metric
2016-01-04 12:07:33 -08:00
Diptanu Choudhury
ed911ca011
Added a test to make sure services no longer present are being removed
2015-12-15 10:43:56 -08:00
Diptanu Choudhury
9686f6e26f
Making sure existing ids for services are not re-generated
2015-12-15 09:14:32 -08:00
Diptanu Choudhury
962bdf744d
Added a test to prove services are removed from the map in Alloc if they are removed from the Tasks
2015-12-15 08:35:26 -08:00
Diptanu Choudhury
cbc70a5465
Changed some comments
2015-12-14 18:05:58 -08:00
Diptanu Choudhury
f4526cd7e3
Re-initializing the service map for in place updates
2015-12-14 17:06:58 -08:00
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