levant icon indicating copy to clipboard operation
levant copied to clipboard

Add Levant `job-logs` command to tail logs

Open jrasell opened this issue 7 years ago • 2 comments

Description

Nomad 0.8.0 will bring in a proxy style feature so that client based HTTP API requests can be proxied through the Nomad server API. This is required as Nomad clients should be running in private subnets and programatic access from applications such as Jenkins controlled and only allowed access through the server API.

This feature therefore is to create a new command using this feature which allows the streaming of job logs until the completion of the job. This is very helpful for batch and parameterised job where operators likely wish to trigger an instance of the job and then track the logs until completion.

jrasell avatar Feb 15 '18 12:02 jrasell

Was going to jump on this, just wondering if it should be a separate command or rolled into the monitor command thats in progress?

pmcatominey avatar Oct 28 '18 21:10 pmcatominey

I'd like to see this as a separate command - though it might build on top of what is already in the monitor command.

One thing I'd also like to see is the ability to tail logs for multiple jobs. This might be useful in the case where multiple jobs make up a given application, and a user wants to tail all logs for an app as a single unit.

josegonzalez avatar Apr 09 '19 08:04 josegonzalez