open-nomad/scheduler
Mahmood Ali 5dc404ecab Only preempt for network when there is a network
When examining preemption for networks, only consider allocs that have
networks.

Fixes https://github.com/hashicorp/nomad/issues/5793
2019-06-07 18:55:55 -04:00
..
annotate.go Show canaries on plan 2017-07-07 12:03:11 -07:00
annotate_test.go Deprecate IOPS 2018-12-06 15:09:26 -08:00
context.go goimports 2019-01-22 15:44:31 -08:00
context_test.go Merge pull request #4867 from hashicorp/b-deployment-progress-deadline 2018-11-13 10:29:03 -08:00
device.go Change types of weights on spread/affinity 2019-01-30 12:20:38 -08:00
device_test.go Change types of weights on spread/affinity 2019-01-30 12:20:38 -08:00
feasible.go convert driver to device for device constraint/attributes 2019-01-23 10:58:45 -08:00
feasible_test.go convert driver to device for device constraint/attributes 2019-01-23 10:58:45 -08:00
generic_sched.go Remove allowPlanOptimization from schedulers 2019-04-23 09:18:02 -07:00
generic_sched_oss.go Refactor scheduler package to enable preemption for batch/service jobs 2019-04-10 20:24:01 -05:00
generic_sched_test.go tests: Migrated allocs aren't lost 2019-06-06 16:05:07 -04:00
preemption.go Only preempt for network when there is a network 2019-06-07 18:55:55 -04:00
preemption_test.go test: add tests for network devices and preemption 2019-06-07 18:55:02 -04:00
propertyset.go server 2018-09-15 16:23:13 -07:00
rank.go Refactor scheduler package to enable preemption for batch/service jobs 2019-04-10 20:24:01 -05:00
rank_test.go Change types of weights on spread/affinity 2019-01-30 12:20:38 -08:00
reconcile.go describe a pending deployment with auto_promote accurately 2019-05-22 12:32:08 -04:00
reconcile_test.go use int64 2018-10-16 15:34:32 -07:00
reconcile_util.go Work in progress - force rescheduling of failed allocs 2018-05-08 17:26:57 -05:00
reconcile_util_test.go Fix linting 2018-03-28 12:26:28 -05:00
scheduler.go Remove allowPlanOptimization from schedulers 2019-04-23 09:18:02 -07:00
scheduler_oss.go sync 2017-10-13 14:36:02 -07:00
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 Fix comment and assert score in test case 2019-05-15 12:35:57 -05:00
spread_test.go Fix comment and assert score in test case 2019-05-15 12:35:57 -05:00
stack.go Refactor scheduler package to enable preemption for batch/service jobs 2019-04-10 20:24:01 -05:00
stack_not_ent.go sync 2017-10-13 14:36:02 -07:00
stack_oss.go Refactor scheduler package to enable preemption for batch/service jobs 2019-04-10 20:24:01 -05:00
stack_test.go renames 2018-10-04 14:57:25 -07:00
system_sched.go system_sched & test cleanup comments 2019-05-01 12:25:26 -04:00
system_sched_test.go system_sched & test cleanup comments 2019-05-01 12:25:26 -04:00
testing.go Add comments to functions, and use require instead of assert 2019-04-23 09:57:21 -07:00
util.go Add code for plan normalization 2019-04-23 09:18:01 -07:00
util_test.go Remove allowPlanOptimization from schedulers 2019-04-23 09:18:02 -07:00