-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Provide 'restart' section per task in addition to the group #2187
Comments
Seems relevant to #2181 |
Duplicate of #2181 |
Sorry, I think I was a bit hasty in closing this. #2181 seems to be specific to the Docker driver. |
@shantanugadgil Is this more in line with what you are asking: #419 Using restarts to accomplish it seems like a hack |
I'll explain my need for a restart of a single task. My scenario is that I am using Proxmox VE. In my above scenario, what I was thinking was: The way I have solved this for now is just put the entire work of trying to get the "next" id and creating the VM in one script and execute that as a single task. |
Not disagreeing with the need for per task but it seems like that use case could be solved by prestart scripts or task dependencies in a more elegant way |
OK. I am new to Nomad and have been heavily experimenting with it for the past couple of weeks only. |
Doing a bit of issue cleanup and I think I'm going to close this one out: it's covered by combination of the task lifecycle hooks and the |
I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues. |
If you have a question, prepend your issue with
[question]
or preferably use the nomad mailing list.If filing a bug please include the following:
Nomad version
Output from
nomad version
$ nomad -v
Nomad v0.5.2
Operating system and Environment details
Ubuntu 16.04 Server
Debian/Ubuntu Clients
Issue
Would it be possible to give restart capabilities for a single task versus for the entire group?
Use Case
If task2 fails only retry task2
Wondering if the above is possible?
From: https://www.nomadproject.io/docs/job-specification/restart.html
it seems "restart" is per group and not task.
Regards,
Shantanu Gadgil
The text was updated successfully, but these errors were encountered: