Alex Dadgar
|
9801db55b3
|
Remove unnecessary copy
|
2015-11-23 16:36:12 -08:00 |
Alex Dadgar
|
9b99eeeec4
|
Remove shared reference to network resources across allocs
|
2015-11-23 16:32:30 -08:00 |
Chris Bednarski
|
9f40143684
|
Merge branch 'master' into f-port-labels
|
2015-11-16 16:02:38 -08:00 |
Alex Dadgar
|
bdf7497f1b
|
Initialize task state in allocation sent by scheduler
|
2015-11-16 15:14:21 -08:00 |
Diptanu Choudhury
|
babc68adfb
|
Fixing the scheduler tests
|
2015-11-16 13:10:57 -08:00 |
Alex Dadgar
|
3cdbfc010f
|
Remove weight and hard/soft fields from constraint
|
2015-10-27 14:31:14 -07:00 |
Alex Dadgar
|
c7f904ff31
|
Merge pull request #321 from hashicorp/f-unique-constraint
Add "distinctHost" constraint
|
2015-10-26 14:18:57 -07:00 |
Alex Dadgar
|
1784387e1d
|
Rename Dynamic -> ProposedAllocConstraintIterator
|
2015-10-26 14:12:54 -07:00 |
Alex Dadgar
|
a9135b92b2
|
Cleanup DynamicConstraintIterator
|
2015-10-26 14:01:32 -07:00 |
Alex Dadgar
|
fd9c2baf02
|
Constants for constraints and renaming to use undescore instead of camel
|
2015-10-26 13:47:56 -07:00 |
Alex Dadgar
|
2b2b6c321a
|
Check for environment variable updates for tasks
|
2015-10-23 14:52:06 -07:00 |
Alex Dadgar
|
be50fe6254
|
Fix markdown and log messages
|
2015-10-23 09:56:48 -07:00 |
Alex Dadgar
|
ecc4f98f3a
|
Change "unique" to "distinctHosts"
|
2015-10-22 17:40:41 -07:00 |
Alex Dadgar
|
861a65288c
|
Fix test and simplify some boolean logic/fix metrics counting
|
2015-10-22 16:45:03 -07:00 |
Alex Dadgar
|
783b0b5aee
|
Add dynamic constraint to generic_scheduler
|
2015-10-22 15:09:03 -07:00 |
Alex Dadgar
|
910dcc49fb
|
DynamicConstraintIterator that implements the unique constraint
|
2015-10-22 14:31:12 -07:00 |
Gregory Man
|
400363079c
|
Make go vet happy
|
2015-10-21 15:47:36 +03:00 |
Alex Dadgar
|
d9b78ffdfe
|
Remove base nodes from stack constructors
|
2015-10-16 17:05:23 -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
|
406e135ce8
|
Add negative test to DriverIterator, increase system scheduler attempts, and fix evictAndPlace status message
|
2015-10-16 11:36:26 -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
|
692efe513d
|
Use valid driver values in test
|
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
|
931a113cb5
|
scheduler: adding regexp and version constraint cache
|
2015-10-12 20:15:07 -07:00 |
Armon Dadgar
|
81c08ba66e
|
scheduler: support lexical ordering constraints
|
2015-10-11 15:57:06 -04:00 |
Armon Dadgar
|
751fa61b3e
|
scheduler: adding regexp constraints
|
2015-10-11 15:35:13 -04:00 |
Armon Dadgar
|
86ca7c59a1
|
scheduler: adding version constraint logic
|
2015-10-11 15:12:39 -04:00 |
Ivo Verberk
|
c6e1b13b51
|
Fix vet warnings
|
2015-10-07 12:26:58 +02: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
|
b213462cb4
|
Change CPU from float64 to int
|
2015-09-23 11:14:32 -07:00 |
Armon Dadgar
|
d442a49fde
|
scheduler: job anti-affinity score should record as negative
|
2015-09-22 22:24:07 -07:00 |
Armon Dadgar
|
90a82da0fd
|
scheduler: do not skip job anti-affinity
|
2015-09-22 22:20:07 -07:00 |
Armon Dadgar
|
a23c8bf713
|
scheduler: Allow rolling update, assign eval first.Fixes #91
|
2015-09-22 21:45:25 -07:00 |
Chris Bednarski
|
168c959497
|
Added named ports
|
2015-09-22 13:59:16 -07:00 |
Armon Dadgar
|
ee2fd15cc2
|
scheduler: ignore allocations in terminal state
|
2015-09-17 21:25:55 -07:00 |
Armon Dadgar
|
38471c81a0
|
scheduler: pass failure reason to ExhaustedNode
|
2015-09-13 18:38:26 -07:00 |
Armon Dadgar
|
cece4473b8
|
scheduler: in-place update should preserve network offer
|
2015-09-13 17:06:34 -07:00 |
Armon Dadgar
|
fcd367e657
|
scheduler: track dimension of exhaustion
|
2015-09-13 16:48:01 -07: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
|
cf0a546fdc
|
scheduler: expose reason network offer failed
|
2015-09-13 16:41:32 -07:00 |
Armon Dadgar
|
c6f5a8e029
|
scheduler: thread through the TaskResources
|
2015-09-13 15:20:50 -07:00 |
Armon Dadgar
|
cb3aa5d4db
|
nomad: update for new AllocsFit API
|
2015-09-13 14:57:58 -07:00 |
Armon Dadgar
|
aed6bd8a41
|
scheduler: use the new network index
|
2015-09-13 14:37:09 -07:00 |
Armon Dadgar
|
e901b0a1ca
|
nomad: moving network index
|
2015-09-13 14:35:28 -07:00 |
Armon Dadgar
|
625308661a
|
scheduler: binpacker makes network offers
|
2015-09-13 14:31:32 -07:00 |
Armon Dadgar
|
b0eb463823
|
scheduler: expose AddReserved, add test
|
2015-09-13 14:31:01 -07:00 |
Armon Dadgar
|
5c8f1c0fa5
|
scheduler: adding helper library for network assignments
|
2015-09-12 19:34:46 -07:00 |