Skip to content

easy way to delete completed pod for taskRun or pipelineRun? #1276

Answered by dibyom
ec2ainun asked this question in Q&A
Discussion options

You must be logged in to vote

By easy are you talking about automatic or a single command?

Triggers adds the EventListener/Trigger info that was used to create a resource as a label so something like a kubectl delete taskruns -l "triggers.tekton.dev/eventlistener=<EL-NAME>" should work

For automatic cleanup, we do not have anything built in to Triggers

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ec2ainun
Comment options

Answer selected by ec2ainun
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants