open-nomad/website/content/docs/commands/job
Luiz Aoqui e5d31bca61
cli: job restart command (#16278)
Implement the new `nomad job restart` command that allows operators to
restart allocations tasks or reschedule then entire allocation.

Restarts can be batched to target multiple allocations in parallel.
Between each batch the command can stop and hold for a predefined time
or until the user confirms that the process should proceed.

This implements the "Stateless Restarts" alternative from the original
RFC
(https://gist.github.com/schmichael/e0b8b2ec1eb146301175fd87ddd46180).
The original concept is still worth implementing, as it allows this
functionality to be exposed over an API that can be consumed by the
Nomad UI and other clients. But the implementation turned out to be more
complex than we initially expected so we thought it would be better to
release a stateless CLI-based implementation first to gather feedback
and validate the restart behaviour.

Co-authored-by: Shishir Mahajan <smahajan@roblox.com>
2023-03-23 18:28:26 -04:00
..
allocs.mdx cli: remove hard requirement on list-jobs (#16380) 2023-03-09 15:00:04 -05:00
deployments.mdx cli: remove hard requirement on list-jobs (#16380) 2023-03-09 15:00:04 -05:00
dispatch.mdx cli: remove hard requirement on list-jobs (#16380) 2023-03-09 15:00:04 -05:00
eval.mdx acl: update job eval requirement to submit-job (#16463) 2023-03-13 17:13:54 -04:00
history.mdx cli: remove hard requirement on list-jobs (#16380) 2023-03-09 15:00:04 -05:00
index.mdx docs: Migrate link formats (#15779) 2023-01-25 09:31:14 -08:00
init.mdx Change job init default to example.nomad.hcl and recommend in docs (#15997) 2023-02-02 11:47:47 -06:00
inspect.mdx cli: remove hard requirement on list-jobs (#16380) 2023-03-09 15:00:04 -05:00
periodic-force.mdx cli: remove hard requirement on list-jobs (#16380) 2023-03-09 15:00:04 -05:00
plan.mdx Change job init default to example.nomad.hcl and recommend in docs (#15997) 2023-02-02 11:47:47 -06:00
promote.mdx cli: remove hard requirement on list-jobs (#16380) 2023-03-09 15:00:04 -05:00
restart.mdx cli: job restart command (#16278) 2023-03-23 18:28:26 -04:00
revert.mdx cli: remove hard requirement on list-jobs (#16380) 2023-03-09 15:00:04 -05:00
run.mdx Change job init default to example.nomad.hcl and recommend in docs (#15997) 2023-02-02 11:47:47 -06:00
scale.mdx cli: remove hard requirement on list-jobs (#16380) 2023-03-09 15:00:04 -05:00
scaling-events.mdx cli: remove hard requirement on list-jobs (#16380) 2023-03-09 15:00:04 -05:00
status.mdx cli: remove hard requirement on list-jobs (#16380) 2023-03-09 15:00:04 -05:00
stop.mdx cli: remove hard requirement on list-jobs (#16380) 2023-03-09 15:00:04 -05:00
validate.mdx Change job init default to example.nomad.hcl and recommend in docs (#15997) 2023-02-02 11:47:47 -06:00