Tekton Operations: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 10: Line 10:


=Tekton CLI=
=Tekton CLI=
=Domain Model Operations=
==Task Operations==
===List Tasks===
<syntaxhighlight lang='bash'>
kubectl [-n <namespace-name>] get tasks
</syntaxhighlight>
==TaskRun Operations==
===List TaskRuns===
<syntaxhighlight lang='bash'>
kubectl [-n <namespace-name>] get taskruns
</syntaxhighlight>

Revision as of 22:29, 27 April 2022

Internal

Tekton Pipelines

Installation

kubectl apply -f https://storage.googleapis.com/tekton-releases/pipeline/latest/release.yaml
kubectl get pods -n tekton-pipelines --watch

The installation will create a tekton-pipelines namespace.

Tekton CLI

Domain Model Operations

Task Operations

List Tasks

kubectl [-n <namespace-name>] get tasks

TaskRun Operations

List TaskRuns

kubectl [-n <namespace-name>] get taskruns