Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restart all allocations button on main job window #20330

Open
valafon opened this issue Apr 9, 2024 · 1 comment
Open

Restart all allocations button on main job window #20330

valafon opened this issue Apr 9, 2024 · 1 comment

Comments

@valafon
Copy link

valafon commented Apr 9, 2024

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.
restart

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 - #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

@tgross tgross added this to Needs Triage in Nomad - Community Issues Triage via automation Apr 9, 2024
@tgross tgross added the theme/ui label Apr 9, 2024
@tgross
Copy link
Member

tgross commented Apr 11, 2024

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.

@tgross tgross moved this from Needs Triage to Needs Roadmapping in Nomad - Community Issues Triage Apr 11, 2024
@philrenaud philrenaud self-assigned this Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

3 participants