there is kubetail which enables you to aggregate (tail/follow) logs from multiple pods into one stream. This is the same as running "kubectl logs -f
" but for multiple pods. … but it is for kubernetes.
nomad logs -tail -f -job [job-name]
tails logs of a single, random instance of a job which is only “somewhat” useful.
yes, logs from multiple instances can be/are shipped to ELK/splunk, etc…
but they are available on all nomad instances, so some ssh mockery with a poor user experience can be done.
but. why not do better? nomad knows about the mounts OR about the logs that are available in stdout.
so the questions (and if the answer is “no”, then the ask ) what is the way to:
nomad logs -tail -f -job [job-name] --all-instances
so see the logs in the terminal from all instances of a job?