-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Labels
kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.
Milestone
Description
Feature request
By default, If a TaskRun runs longer than its timeout value, the pod associated with the TaskRun will be deleted. This means that the logs of the TaskRun are not preserved. The deletion of the TaskRun pod is necessary in order to stop TaskRun step containers from running.
We already have keep-pod-on-cancel
, but this only applies when the Pipeline/Task is cancelled. We should take into account this feature-flag, and if true, we should respect it when the Pipeline/Task times-out, a.k.a. not deleting the Pod.
Use case
When there is a timeout, the user might want to inspect the Pod (or at least look at the logs) to understand what happened ; especially if the user can already do this when he/she cancels the Pipeline/Task.
crifdc20250224
Metadata
Metadata
Assignees
Labels
kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.
Type
Projects
Status
Todo