open-nomad/scheduler
Tim Gross 1ca2c4ec2c scheduler: DesiredCanaries can be set on every pass safely
The reconcile loop sets `DeploymentState.DesiredCanaries` only on the first
pass through the loop and if the job is not paused/pending. In MRD,
deployments will make one pass though the loop while "pending", and were not
ever getting `DesiredCanaries` set. We can't set it in the initial
`DeploymentState` constructor because the first pass through setting up
canaries expects it's not there yet. However, this value is static for a given
version of a job because it's coming from the update stanza, so it's safe to
re-assign the value on subsequent passes.
2020-07-20 11:25:53 -04:00
..
annotate.go
annotate_test.go
context.go
context_test.go
device.go
device_test.go
feasible.go scheduler: do network feasibility checking for system jobs (#8256) 2020-06-24 16:01:00 -04:00
feasible_test.go multi-interface network support 2020-06-19 09:42:10 -04:00
generic_sched.go this is OSS 2020-06-22 10:28:45 -04:00
generic_sched_test.go refactor: make it clear where we're accessing dstate 2020-07-20 11:25:53 -04:00
preemption.go
preemption_test.go tests and some clean up 2020-05-01 13:13:30 -04:00
propertyset.go
rank.go ar: support opting into binding host ports to default network IP (#8321) 2020-07-06 18:51:46 -04:00
rank_test.go multi-interface network support 2020-06-19 09:42:10 -04:00
reconcile.go scheduler: DesiredCanaries can be set on every pass safely 2020-07-20 11:25:53 -04:00
reconcile_test.go
reconcile_util.go scheduler/reconcile: set FollowupEvalID on lost stop_after_client_disconnect (#8105) (#8138) 2020-06-09 17:13:53 -04:00
reconcile_util_test.go
scheduler.go
scheduler_oss.go
select.go
select_test.go
spread.go
spread_test.go
stack.go scheduler: do network feasibility checking for system jobs (#8256) 2020-06-24 16:01:00 -04:00
stack_not_ent.go
stack_test.go
system_sched.go scheduler/reconcile: set FollowupEvalID on lost stop_after_client_disconnect (#8105) (#8138) 2020-06-09 17:13:53 -04:00
system_sched_test.go scheduler: do network feasibility checking for system jobs (#8256) 2020-06-24 16:01:00 -04:00
testing.go server: stop after client disconnect (#7939) 2020-05-13 16:39:04 -04:00
util.go Task DNS Options (#7661) 2020-06-18 11:01:31 -07:00
util_test.go