Open
Description
Proposal
nomad job scale
should be a bit more configurable - like taking a param to stop the old allocs first. Or maybe that could be the default behaviour. Currently, it destroys the latest
allocs.
Use-cases
I'd like to use it for applications which need some updated files (fetched externally via S3 etc) and restart. However, to not stop the incoming traffic on the existing allocs, I can't use nomad alloc restart
as it immediately kills the alloc. There's a shutdown_delay
as well, but that isn't useful in this case since:
- the new alloc stays in
pending
state till the old alloc stops - nomad doesn't de-register the service from the catalog until the service fully stops. So effectively,
shutdown_delay
doesn't have any effect if usingservice.provider="nomad"
.
Attempted Solutions
Couldn't find a workaround for this.
Metadata
Metadata
Assignees
Type
Projects
Status
Needs Roadmapping