Tekton Cheat Sheet
Kubernetes-native CI/CD — run PipelineRuns and TaskRuns as cluster resources with Tekton CLI.
CI/CD3 sections · 16 commands
⌘K
Pipelines
6tkn pipeline listPipelines in the namespace
tkn pipeline start NAMEStart a pipeline run
tkn pipeline start NAME -p repo-url=URL -w name=ws,claimName=volStart with params and workspaces
tkn pipelinerun listRecent pipeline runs
tkn pipelinerun describe RUNRun details and task status
tkn pipelinerun delete RUNDelete a run
Tasks & Logs
6tkn task listTasks in the namespace
tkn task start NAME --use-param-defaultsRun a task directly
tkn taskrun listRecent task runs
tkn logs -f -LFollow logs of the last run
tkn logs -f -p RUN -t TASKNAMELogs of one task in a run
tkn triggers listEvent listener triggers
Resources
4tkn task create -f task.ymlCreate a task from YAML
tkn pipeline create -f pipeline.ymlCreate a pipeline from YAML
kubectl apply -f pipeline-run.ymlDeclarative pipeline run
kubectl get pipelinerun -wWatch runs as CRs