TKN-TASKRUN-DELETE(1)

πŸ“¦ version 0.46.2, in nixos 26.05, nixpkgs unstable

✨ NAME ✨

okay bestie, this is TKN-TASKRUN-DELETE(1) β€” the manual for tkn-taskrun-delete, aka the glow-up-cleanup command that deletes TaskRuns in a namespace. it's giving β€œclear the clutter” energy, and honestly? iconic. πŸ’…


🌸 SYNOPSIS 🌸

tkn taskrun delete

πŸ¦‹ DESCRIPTION πŸ¦‹

Delete TaskRuns in a namespace. that's the whole main-character mission, no cap. ✨


πŸ’– OPTIONS πŸ’–

  • --all[=false] β€” delete all the TaskRuns in a namespace (default: false). like, every single one, bestie β€” so read the vibe before you commit. 🫢
  • --allow-missing-template-keys[=true] β€” 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, iykyk.
  • -f, --force[=false] β€” whether to force deletion (default: false). forceful force force. πŸ’€
  • -h, --help[=false] β€” help for delete. your little β€œwhat does this do again?” button.
  • -i, --ignore-running[=true] β€” ignore running TaskRun.
  • --ignore-running-pipelinerun[=true] β€” ignore deleting taskruns of a running PipelineRun.
  • --keep=0 β€” keep n most recent number of TaskRuns. default is 0.
  • --keep-since=0 β€” when deleting all TaskRuns, keep the ones that has been completed since n minutes. default is 0.
  • -o, --output="" β€” output format. one of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file). default is "".
  • --show-managed-fields[=false] β€” if true, keep the managedFields when printing objects in JSON or YAML format. default: false.
  • -t, --task="" β€” the name of a Task whose TaskRuns should be deleted (does not delete the task). default is "".
  • --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⟩]. default is "".

🌈 OPTIONS INHERITED FROM PARENT COMMANDS 🌈

  • -c, --context="" β€” name of the kubeconfig context to use (default: kubectl config current-context).
  • -k, --kubeconfig="" β€” kubectl config file (default: $HOME/.kube/config).
  • -n, --namespace="" β€” namespace to use (default: from $KUBECONFIG).
  • -C, --no-color[=false] β€” disable coloring (default: false). for when you want the terminal to be lowkey monochrome πŸŽ€

πŸŽ€ EXAMPLE πŸŽ€

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

tkn taskrun delete foo bar -n quux

or

tkn tr rm foo bar -n quux

πŸ‘‘ SEE ALSO πŸ‘‘

tkn-taskrun(1) β€” go be obsessed with that one too, bestie. 🫢✨


✧ auto generated by spf13/cobra ✧ this cutie is TKN-TASKRUN-DELETE(1) ✧ the footer doesn't list a date, so no date to report, periodt πŸ’–πŸ¦‹

πŸ“¦ where this page comes from