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 was trying to use kail to stream the logs, but it doesn't look like it's supported at this time. Would it be possible to allow for commands structured like kail -n staging -j daily-job where -j is the job name, which can be retrieved via kubectl -n staging get jobs. Ideally, we wouldn't have to supply the numeric suffix, because especially for jobs that run often, it will be super dynamic.
The text was updated successfully, but these errors were encountered:
I'm also looking for this feature. The above "workarounds" are great but unfortunately do not work for me as they require pods to actually have a unique label or container name. In my case, I have 20+ CronJobs and they don't have labels or unique container names so it's hard to watch logs.
At the moment I'm using k9s for that but it's heavier and its logs viewer is worse (sometimes just doesn't show anything or stops streaming when deployment is rolling updated).
Having --cronjob <name> as an option would be very useful!
I'm new to Kubernetes and
kail
and recently setup a CronJob, following the docs here: https://kubernetes.io/docs/tasks/job/automated-tasks-with-cron-jobs/I was trying to use
kail
to stream the logs, but it doesn't look like it's supported at this time. Would it be possible to allow for commands structured likekail -n staging -j daily-job
where-j
is the job name, which can be retrieved viakubectl -n staging get jobs
. Ideally, we wouldn't have to supply the numeric suffix, because especially for jobs that run often, it will be super dynamic.The text was updated successfully, but these errors were encountered: