Skip to content

Latest commit

 

History

History
53 lines (34 loc) · 1.78 KB

tkn_pipelinerun_delete.md

File metadata and controls

53 lines (34 loc) · 1.78 KB

tkn pipelinerun delete

Delete pipelineruns in a namespace

Aliases: rm

Usage

tkn pipelinerun delete

Synopsis

Delete pipelineruns in a namespace

Examples

Delete PipelineRuns with names 'foo' and 'bar' in namespace 'quux':

tkn pipelinerun delete foo bar -n quux

or

tkn pr rm foo bar -n quux

Options

      --all                           Delete all pipelineruns in a namespace (default: false)
      --allow-missing-template-keys   If 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. (default true)
  -f, --force                         Whether to force deletion (default: false)
  -h, --help                          help for delete
      --keep int                      Keep n most recent number of pipelineruns
  -o, --output string                 Output format. One of: json|yaml|name|go-template|go-template-file|template|templatefile|jsonpath|jsonpath-file.
  -p, --pipeline string               The name of a pipeline whose pipelineruns should be deleted (does not delete the pipeline)
      --template string               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].

Options inherited from parent commands

  -c, --context string      name of the kubeconfig context to use (default: kubectl config current-context)
  -k, --kubeconfig string   kubectl config file (default: $HOME/.kube/config)
  -n, --namespace string    namespace to use (default: from $KUBECONFIG)
  -C, --nocolour            disable colouring (default: false)

SEE ALSO