open-nomad/scheduler
Alex Dadgar 3ba62efd5e Failed/paused deployments do not block migrations
This PR changes behavior of the scheduler such that a task group with a
deployment that is failed or paused will not cause the scheduler to skip
migrations.

The reason for this change is that it causes a bad UX when draining
nodes with allocations that are part of a failed/paused deployment.
These operations should not be coupled in any way and this remedies
that.

Prior behavior was still correct, but required either jobs to
transistion to a healthy state or for the node to hit its drain
deadline.
2018-09-10 15:28:45 -07:00
..
annotate.go
annotate_test.go
context.go Implement affinity support in generic scheduler 2018-09-04 16:10:11 -05:00
context_test.go
feasible.go Fix after rename to ConstraintSetContainsAny 2018-09-04 16:10:11 -05:00
feasible_test.go test for setcontainsany, and treat set_contains same as set_contains_all 2018-09-04 16:10:11 -05:00
generic_sched.go Use heap to store top K scoring nodes. 2018-09-04 16:10:11 -05:00
generic_sched_test.go Merge pull request #4642 from hashicorp/b-vet 2018-09-04 17:04:02 -07:00
propertyset.go Implement support for even spread across datacenters, with unit test 2018-09-04 16:10:11 -05:00
rank.go Some minor changes from code review 2018-09-04 16:10:11 -05:00
rank_test.go Some minor changes from code review 2018-09-04 16:10:11 -05:00
reconcile.go Failed/paused deployments do not block migrations 2018-09-10 15:28:45 -07:00
reconcile_test.go Failed/paused deployments do not block migrations 2018-09-10 15:28:45 -07:00
reconcile_util.go
reconcile_util_test.go
scheduler.go
scheduler_oss.go
select.go Implement affinity support in generic scheduler 2018-09-04 16:10:11 -05:00
select_test.go Implement affinity support in generic scheduler 2018-09-04 16:10:11 -05:00
spread.go Track top k nodes by norm score rather than top k nodes per scorer 2018-09-04 16:10:11 -05:00
spread_test.go Fix scoring logic for uneven spread to incorporate current alloc count 2018-09-04 16:10:11 -05:00
stack.go Implement spread iterator that scores according to percentage of desired count in each target. 2018-09-04 16:10:11 -05:00
stack_not_ent.go
stack_test.go Track top k nodes by norm score rather than top k nodes per scorer 2018-09-04 16:10:11 -05:00
system_sched.go code review feedback 2018-09-04 16:10:11 -05:00
system_sched_test.go
testing.go
util.go
util_test.go