d3c4700cd3
* jobspec, api: add stop_after_client_disconnect * nomad/state/state_store: error message typo * structs: alloc methods to support stop_after_client_disconnect 1. a global AllocStates to track status changes with timestamps. We need this to track the time at which the alloc became lost originally. 2. ShouldClientStop() and WaitClientStop() to actually do the math * scheduler/reconcile_util: delayByStopAfterClientDisconnect * scheduler/reconcile: use delayByStopAfterClientDisconnect * scheduler/util: updateNonTerminalAllocsToLost comments This was setup to only update allocs to lost if the DesiredStatus had already been set by the scheduler. It seems like the intention was to update the status from any non-terminal state, and not all lost allocs have been marked stop or evict by now * scheduler/testing: AssertEvalStatus just use require * scheduler/generic_sched: don't create a blocked eval if delayed * scheduler/generic_sched_test: several scheduling cases |
||
---|---|---|
.. | ||
artifacts.hcl | ||
bad-artifact.hcl | ||
bad-ports.hcl | ||
basic.hcl | ||
basic_wrong_key.hcl | ||
csi-plugin.hcl | ||
default-job.hcl | ||
distinctHosts-constraint.hcl | ||
distinctProperty-constraint.hcl | ||
incorrect-service-def.hcl | ||
job-with-kill-signal.hcl | ||
migrate-job.hcl | ||
multi-network.hcl | ||
multi-resource.hcl | ||
multi-vault.hcl | ||
overlapping-ports.hcl | ||
parameterized_job.hcl | ||
periodic-cron.hcl | ||
regexp-constraint.hcl | ||
reschedule-job-unlimited.hcl | ||
reschedule-job.hcl | ||
service-check-bad-header-2.hcl | ||
service-check-bad-header.hcl | ||
service-check-driver-address.hcl | ||
service-check-initial-status.hcl | ||
service-check-restart.hcl | ||
service-enable-tag-override.hcl | ||
service-meta.hcl | ||
set-contains-constraint.hcl | ||
specify-job.hcl | ||
task-nested-config.hcl | ||
tg-network.hcl | ||
tg-scaling-policy-minimal.hcl | ||
tg-scaling-policy-multi-policy.hcl | ||
tg-scaling-policy.hcl | ||
tg-service-check-expose.hcl | ||
tg-service-check.hcl | ||
tg-service-connect-local-service.hcl | ||
tg-service-connect-proxy.hcl | ||
tg-service-connect-sidecar_task-name.hcl | ||
tg-service-enable-tag-override.hcl | ||
tg-service-proxy-expose.hcl | ||
vault_inheritance.hcl | ||
version-constraint.hcl |