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 scheduler: fix panic when preempting and evicting 2019-12-02 20:22:22 -08:00
context_test.go scheduler: update tests with modern error helper 2019-12-02 20:25:52 -08:00
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 Only preempt for network when there is a network 2019-06-07 18:55:55 -04:00
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 add default update stanza and max_parallel=0 disables deployments (#6191) 2019-09-02 10:30:09 -07:00
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 csi: use node MaxVolumes during scheduling (#7565) 2020-03-31 17:16:47 -04:00
scheduler_oss.go include pro tag in serveral oss.go files 2020-02-10 15:56:14 -05:00
select.go
select_test.go
spread.go More error->debug for logging in the bin packing iterator 2019-12-12 15:50:16 -06:00
spread_test.go Fix comment and assert score in test case 2019-05-15 12:35:57 -05:00
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 csi: fix index maintenance for CSIVolume and CSIPlugin tables (#7049) 2020-03-23 13:58:29 -04:00
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 Detect network mode change 2020-03-21 16:51:10 -04:00