TKN-PIPELINERUN-LOGS(1)
π
tkn-pipelinerun-logs β aka the tkn pipelinerun logs page
okay so this is the manual page for tkn-pipelinerun-logs, part of the tkn fam π«Ά β it's the one that shows you the logs of a PipelineRun. yes bestie, the actual scroll-y stuff your pipeline is screaming into the void. let's get into it β¨
πΈ NAME πΈ
tkn-pipelinerun-logs β Show the logs of a PipelineRun
π SYNOPSIS π
tkn pipelinerun logs
that's it, that's the vibe π
π¦ DESCRIPTION π¦
Show the logs of a PipelineRun. iconic, honestly. you point it at a PipelineRun and it hands you the logs. no cap, that's the whole gig π₯
β¨ OPTIONS β¨
-a,--all[=false]β show all logs, including the init steps that tekton injects π (by default it'sfalse, so those sneaky init steps stay hidden)-E,--exit-with-pipelinerun-error[=false]β exits with the pipelinerun's status into the unix shell:0if success,1if error,2on unknown status. so your scripts can vibe-check the whole thing π-f,--follow[=false]β stream live logs β literally watching them roll in, main character energy-F,--fzf[=false]β usefzfto select a PipelineRun π§ (yes, the fuzzy finder, we love her)-h,--help[=false]β help for logs π«Ά-L,--last[=false]β show logs for the last PipelineRun π the most recent one, no scrolling required--limit=5β lists number of PipelineRuns. default is5, okay? five. don't come for me--log-failed[=false]β show logs for failed tasks only π (when you only care about the chaos)--long[=false]β show logs with task display name (display name and step name) π--prefix[=true]β prefix each log line with the log source (task name and step name). default istrue, and honestly thank her, otherwise it's soup π-t,--task=[]β show logs for the mentioned Tasks only. it's a list, default empty[]--timestamps[=false]β show logs with timestamp β so you know exactly when things went sideways
π OPTIONS INHERITED FROM PARENT COMMANDS π
these come from the parent command, so you get them for free, bestie π«Ά
-c,--context=""β name of the kubeconfig context to use (default:kubectl config current-context)-k,--kubeconfig=""β kubectl config file (default:$HOME/.kube/config)-n,--namespace=""β namespace to use (default: from$KUBECONFIG)-C,--no-color[=false]β disable coloring (default:false)
πΊ EXAMPLE πΊ
Show the logs of PipelineRun named 'foo' from namespace 'bar':
tkn pipelinerun logs foo -n bar
Show the logs of PipelineRun named 'microservice-1' for Task 'build' only from namespace 'bar':
tkn pr logs microservice-1 -t build -n bar
Show the logs of PipelineRun named 'microservice-1' for all Tasks and steps (including init steps) from namespace 'foo':
tkn pr logs microservice-1 -a -n foo
Show the logs of PipelineRun named 'microservice-1' for failed Tasks only from namespace 'bar':
tkn pr logs microservice-1 --log-failed -n bar
see? four examples, all exact, all slaying π
π SEE ALSO π
tkn-pipelinerun(1)β go say hi to the parent π
ngl the whole page is auto generated by spf13/cobra, so likeβ¦ the robots wrote the skeleton, i just gave it a personality π§β¨
and that's a wrap, bestie β source: auto generated by spf13/cobra, version/manual: TKN-PIPELINERUN-LOGS(1), date: none printed on the page π (no date stamp was given, so I'm not making one up). go read some logs, you got this ππ
π¦ where this page comes from
- nixpkgs unstable: tektoncd-cli 0.46.2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms