You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I propose changing the way the 'Revert Version' function works in the Nomad UI:
In it's current form, when I click 'Revert Version' it asks for confirmation and submits the changes.
I would like a new button 'Edit this version in the plan UI' where it would take the version selected and drop it into the 'Plan Job' UI. From here, I could make changes to the job before submitting, these changes could include changing the name of the job(thus cloning from an old version ).
Use-cases
I have an older version of a job I want to return to without affecting the running allocations, I press the button give the job a new name and possibly tweak some parameters before submitting
I want to run an old version of the job on a different cluster(maybe a testing cluster), if I click this button when I land on the 'Plan Job' page, I can copy the entire content out to the different cluster without having to reconstruct the job manually from the diff and the current version.
Attempted Solutions
Revert to the version I want to investigate
Go copy the definition from the definition page
Revert the job back to the pre-reverted state in step 1
Modify the job in an external editor
Submit the job
The issue with this solution is the active allocations might be destroyed as a result of the 'Revert version' and so the operator has to break services to return to this older version.
The text was updated successfully, but these errors were encountered:
Hey @davidlublink, this is a fantastic suggestion. We have a few changes to the versions page coming up soon, and this is a good opportunity to expand on those as well. I'll make a point to dig into this soon.
Proposal
I propose changing the way the 'Revert Version' function works in the Nomad UI:
In it's current form, when I click 'Revert Version' it asks for confirmation and submits the changes.
I would like a new button 'Edit this version in the plan UI' where it would take the version selected and drop it into the 'Plan Job' UI. From here, I could make changes to the job before submitting, these changes could include changing the name of the job(thus cloning from an old version ).
Use-cases
Attempted Solutions
The issue with this solution is the active allocations might be destroyed as a result of the 'Revert version' and so the operator has to break services to return to this older version.
The text was updated successfully, but these errors were encountered: