TKN-PIPELINERUN-DELETE(1)

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

πŸ’… TKN-PIPELINERUN-DELETE(1) β€” the manual page, but make it make sense

okay so bestie, this is the man page for tkn-pipelinerun-delete from the tkn manual (section 1, obviously). it's the little command that ✨deletes PipelineRuns✨ in a namespace. that's it, that's the vibe.


✨ NAME ✨

tkn-pipelinerun-delete β€” Delete PipelineRuns in a namespace πŸ—‘οΈπŸ’–


🌸 SYNOPSIS 🌸

tkn pipelinerun delete

like, that's literally the whole invocation. no cap.


πŸ¦‹ DESCRIPTION πŸ¦‹

Delete PipelineRuns in a namespace. yes queen, that's the entire description. short and iconic, it's giving main character energy πŸŽ€


πŸ‘‘ OPTIONS πŸ‘‘

  • --all[=false] β€” Delete all the PipelineRuns in a namespace. default is false, so it's not gonna nuke everything unless you tell it to πŸ’€
  • --allow-missing-template-keys[=true] β€” if true, it just ignores any errors in templates when a field or map key is missing in the template. only applies to golang and jsonpath output formats. defaults to true, so it's forgiving fr fr 🫢
  • -f, --force[=false] β€” whether to force deletion. default: false. highkey the "no takebacks" button.
  • -h, --help[=false] β€” help for delete. the classic little cry for guidance 😭
  • -i, --ignore-running[=true] β€” ignore running PipelineRun. defaults to true, so running ones get left alone by default ✨
  • --keep=0 β€” keep the n most recent number of PipelineRuns. default is 0
  • --keep-since=0 β€” when deleting all PipelineRuns, keep the ones that have been completed since n minutes. default is 0 ⏰
  • --label="" β€” a selector (label query) to filter on when running with --all. supports =, ==, and !=. default is "", so no filtering unless you say so 🏷️
  • -o, --output="" β€” output format. one of: (json, yaml, name, go-template, go-template-file, template, templatefile, jsonpath, jsonpath-as-json, jsonpath-file). that's a whole menu, pick your fave πŸ“
  • -p, --pipeline="" β€” the name of a Pipeline whose PipelineRuns should be deleted. does not delete the Pipeline (important!! don't panic) πŸ™ˆ
  • --show-managed-fields[=false] β€” if true, keep the managedFields when printing objects in JSON or YAML format. default: false
  • --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⟩ ]

🌈 OPTIONS INHERITED FROM PARENT COMMANDS 🌈

these come from the parent command, so they're not even hers, she just borrowed them πŸ’…

  • -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)

🧚 EXAMPLE 🧚

Delete PipelineRuns with names foo and bar in namespace quux:

tkn pipelinerun delete foo bar -n quux

or, the short-short version:

tkn pr rm foo bar -n quux

both slay, pick whichever one your fingers prefer πŸ”₯


🌸 SEE ALSO 🌸

tkn-pipelinerun(1) β€” go check out the parent, she's the whole reason this page exists 🫢

⚠️ quick vibe check: --all deletes all the PipelineRuns in the namespace. --keep and --keep-since exist so you don't accidentally delete your precious recent ones. read before you yeet. πŸ’€

and that's the whole page, bestie! this beauty was Auto generated by spf13/cobra β€” so like, don't come for the formatting, a robot made it πŸ€–πŸ’– periodt.

πŸ“¦ where this page comes from