-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Can't rerun existing completed taskruns or delete completed taskruns automatically #1302
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@anxinyf Thanks for the issue. If you want to re-run the exact same
/kind question |
@vdemeester Would Pipeline or Operator like to design some fields used in yaml which means that succeeded taskruns can be deleted automatically after ttl time , or they can be deleted in batches? |
In case its helpful here are some links to how this problem has been solved for other resources
|
Rotten issues close after 30d of inactivity. /close Send feedback to tektoncd/plumbing. |
Issues go stale after 90d of inactivity. /lifecycle stale Send feedback to tektoncd/plumbing. |
@tekton-robot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Expected Behavior
There can be some fields that can automatically delete taskruns or completed pods if necessary.
If you don't want to delete existing succeeded taskruns, please allow me to rerun the same name of taskrun, like kubectl apply which can configure the same Deployment and the pod will rerun.
Actual Behavior
At present, when a taskrun is succeeded and the related pod is completed, they have not been deleted and cannot be re-run.
Sure, there's other way to delete taskrun and pod, such as kubectl delete, but there may be so many existing completed taskruns to rerun. To do so, first , i have to delete the exising taskruns and pods, then rerun. Even if I only delete related pod, I can't rerun taskRun.
Steps to Reproduce the Problem
The text was updated successfully, but these errors were encountered: