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
Hey @mr-karan, that's great! I don't believe anyone is currently working on this already.
Preserving backwards compatibility is the main thing with this issue, so I think your proposed solution works.
nomad alloc exec is unchanged, nomad alloc logs gets a new optional -task flag. We'll probably want to ensure that -task=task-name and nomad alloc logs <alloc> <task> work together as well
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 found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Ensure swapping subcommands (exec/logs) allows for a consistent and predictable user experience.
nomad alloc exec
requires a an allocation id, and if the allocation has multiple tasks a-task
flag.nomad alloc exec -task=task-name <alloc> /bin/sh
nomad alloc logs
allows for a second param for the tasknomad alloc logs <alloc> task
The text was updated successfully, but these errors were encountered: