nomad
nomad copied to clipboard
Restart all allocations button on main job window
Proposal
Add a "Restart All Allocations" button to the main window of the job in the WEB UI. For an example, I'm attaching a screenshot of how I see it.
Use-cases
It would be great to have a restart button in the main Job menu. For people who only casually work with Nomad, it's an overhead to search for an allocation within the Job menu just to fall into it and press the restart allocation button there. Teams like tier1 and tier2 support, who mainly just reboot jobs, prefer to do this through stopping/starting a job since it's much more intuitive than figuring out where to find the restart button in the menu. In turn, this creates certain problems because stopping/starting can completely break a job, a prime example of this is the following issue - https://github.com/hashicorp/nomad/issues/18536 (the problem is still relevant). It would be great if the Nomad team could place the restart all allocations button for a job in the main menu, as I suggest in the attached picture. Or, allow the appearance of this button to be enabled through some server setting in the config.
Attempted Solutions
NIL
Hi @valafon! Yeah so this feature would effectively reproduce what's in the nomad job restart
command. What might make this interesting from a design standpoint is that command takes a lot of different options because restarting a whole job has consequences for availability.
I'll mark this for further discussion and roadmapping.