diff --git a/cheat-sheet/kubernetes/Tekton.md b/cheat-sheet/kubernetes/Tekton.md new file mode 100644 index 000000000..1e92deda6 --- /dev/null +++ b/cheat-sheet/kubernetes/Tekton.md @@ -0,0 +1,16 @@ +## CLI + + tkn task list # List defined tasks + tkn pipeline list # List defined pipelines + tkn resource list # List pipeline resources (Git repos) + + tkn task start + tkn task start -p namespace= --showlog + + tkn task describe + + tkn taskrun list # List task runs + tkn taskrun logs -L -f # Follow task run logs + + tkn pipeline start + tkn pipeline start -p namespace= -p contextDir=. --showlog