tkn tr rm

Delete TaskRuns in a namespace

Options

NameDescription
--allDelete all TaskRuns in a namespace (default: false)
--allow-missing-template-keysIf true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats
--clustertask <clustertask>The name of a ClusterTask whose TaskRuns should be deleted (does not delete the ClusterTask)
--force, -fWhether to force deletion (default: false)
--ignore-running, -iIgnore running TaskRun (default: true)
--ignore-running-pipelinerunIgnore deleting taskruns of a running PipelineRun (default: true)
--keep <keep>Keep n most recent number of TaskRuns
--keep-since <keep-since>When deleting all TaskRuns keep the ones that has been completed since n minutes
--output, -o <output>Output format. One of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file)
--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format
--task, -t <task>The name of a Task whose TaskRuns should be deleted (does not delete the task)
--template <template>Template string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview]