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
|
2ab5790b6f
|
Rename Dynamic -> ProposedAllocConstraintIterator
|
2015-10-26 14:12:54 -07:00 |
|
Alex Dadgar
|
302c989509
|
Cleanup DynamicConstraintIterator
|
2015-10-26 14:01:32 -07:00 |
|
Alex Dadgar
|
cccef7ac84
|
Constants for constraints and renaming to use undescore instead of camel
|
2015-10-26 13:47:56 -07:00 |
|
Alex Dadgar
|
0f5e93edc8
|
Check for environment variable updates for tasks
|
2015-10-23 14:52:06 -07:00 |
|
Alex Dadgar
|
ec78455e7f
|
Fix markdown and log messages
|
2015-10-23 09:56:48 -07:00 |
|
Alex Dadgar
|
db90849fb1
|
Change "unique" to "distinctHosts"
|
2015-10-22 17:40:41 -07:00 |
|
Alex Dadgar
|
9f259c27f6
|
Fix test and simplify some boolean logic/fix metrics counting
|
2015-10-22 16:45:03 -07:00 |
|
Alex Dadgar
|
9572878a92
|
Add dynamic constraint to generic_scheduler
|
2015-10-22 15:09:03 -07:00 |
|
Alex Dadgar
|
3ae9340614
|
DynamicConstraintIterator that implements the unique constraint
|
2015-10-22 14:31:12 -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
|
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
|
3cd3ac65d1
|
Use valid driver values in test
|
2015-10-14 18:39:44 -07:00 |
|
Alex Dadgar
|
b24f48a4ed
|
System scheduler and system stack
|
2015-10-14 18:39:44 -07:00 |
|
Armon Dadgar
|
b42db2fff1
|
scheduler: adding regexp and version constraint cache
|
2015-10-12 20:15:07 -07:00 |
|
Armon Dadgar
|
641b9f3ee4
|
scheduler: support lexical ordering constraints
|
2015-10-11 15:57:06 -04:00 |
|
Armon Dadgar
|
0a2e874245
|
scheduler: adding regexp constraints
|
2015-10-11 15:35:13 -04:00 |
|
Armon Dadgar
|
54dea9fe87
|
scheduler: adding version constraint logic
|
2015-10-11 15:12:39 -04:00 |
|
Ivo Verberk
|
f9be8ede8f
|
Fix vet warnings
|
2015-10-07 12:26:58 +02:00 |
|
Armon Dadgar
|
69e7d21e9a
|
scheduler: tasks updated should only check if number of dynamic ports is different
|
2015-10-04 15:53:02 -04:00 |
|
Armon Dadgar
|
b81105bd09
|
Change CPU from float64 to int
|
2015-09-23 11:14:32 -07:00 |
|
Armon Dadgar
|
415444466e
|
scheduler: job anti-affinity score should record as negative
|
2015-09-22 22:24:07 -07:00 |
|
Armon Dadgar
|
5fb980bc53
|
scheduler: do not skip job anti-affinity
|
2015-09-22 22:20:07 -07:00 |
|
Armon Dadgar
|
9afa2aeab6
|
scheduler: Allow rolling update, assign eval first.Fixes #91
|
2015-09-22 21:45:25 -07:00 |
|
Chris Bednarski
|
cbc153c12f
|
Added named ports
|
2015-09-22 13:59:16 -07:00 |
|
Armon Dadgar
|
14009c5ce3
|
scheduler: ignore allocations in terminal state
|
2015-09-17 21:25:55 -07:00 |
|
Armon Dadgar
|
d790b13237
|
scheduler: pass failure reason to ExhaustedNode
|
2015-09-13 18:38:26 -07:00 |
|
Armon Dadgar
|
64b0bd43b4
|
scheduler: in-place update should preserve network offer
|
2015-09-13 17:06:34 -07:00 |
|
Armon Dadgar
|
d70dcecdaf
|
scheduler: track dimension of exhaustion
|
2015-09-13 16:48:01 -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
|
cceea396f6
|
scheduler: expose reason network offer failed
|
2015-09-13 16:41:32 -07:00 |
|
Armon Dadgar
|
ca67742fbb
|
scheduler: thread through the TaskResources
|
2015-09-13 15:20:50 -07:00 |
|
Armon Dadgar
|
6da83f1e1b
|
nomad: update for new AllocsFit API
|
2015-09-13 14:57:58 -07:00 |
|
Armon Dadgar
|
5545fd8ec0
|
scheduler: use the new network index
|
2015-09-13 14:37:09 -07:00 |
|
Armon Dadgar
|
415e13717a
|
nomad: moving network index
|
2015-09-13 14:35:28 -07:00 |
|
Armon Dadgar
|
924bf123a1
|
scheduler: binpacker makes network offers
|
2015-09-13 14:31:32 -07:00 |
|
Armon Dadgar
|
5db6f9b8ba
|
scheduler: expose AddReserved, add test
|
2015-09-13 14:31:01 -07:00 |
|
Armon Dadgar
|
793521d1fe
|
scheduler: adding helper library for network assignments
|
2015-09-12 19:34:46 -07:00 |
|
Armon Dadgar
|
bf3981a397
|
scheduler: refactor shared logic
|
2015-09-12 14:44:40 -07:00 |
|
Armon Dadgar
|
40b84e3023
|
scheduler: recompute scan limit on SetNodes
|
2015-09-11 12:03:41 -07:00 |
|
Armon Dadgar
|
23b6a44f82
|
scheduler: Adding SetLimit to LimitIterator
|
2015-09-11 12:01:22 -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 |
|