Tekton Operations: Difference between revisions
Jump to navigation
Jump to search
Line 33: | Line 33: | ||
kubectl [-n <namespace-name>] logs --selector=tekton.dev/taskRun=<taskrun-name> | kubectl [-n <namespace-name>] logs --selector=tekton.dev/taskRun=<taskrun-name> | ||
</syntaxhighlight> | </syntaxhighlight> | ||
==Pipeline Operations== | |||
==PipelineRun Operations== |
Revision as of 22:58, 27 April 2022
Internal
Tekton Pipelines
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
Tekton CLI Installation
brew tap tektoncd/tools
brew install tektoncd/tools/tektoncd-cli
Domain Model Operations
Task Operations
List Tasks
kubectl [-n <namespace-name>] get tasks
TaskRun Operations
List TaskRuns
kubectl [-n <namespace-name>] get taskruns
Display Execution Log of a TaskRun
kubectl [-n <namespace-name>] logs --selector=tekton.dev/taskRun=<taskrun-name>