You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. I have an issue that Pods are not chosen to be deleted if it has owner that's not a Job. In my case I use Tekton pipelines, which will create multiple pods to run the pipelines, and each pod has an owner with kind "TaskRun", not "Job".
I've taken a look at the logic to determine whether a pod is chosen to be deleted:
Historically the idea was to only cleanup pods owned by jobs and abandoned ones.
But with so many custom operators these days I think it's reasonable to be able to specify additional owners
Hi. I have an issue that Pods are not chosen to be deleted if it has owner that's not a Job. In my case I use Tekton pipelines, which will create multiple pods to run the pipelines, and each pod has an owner with kind "TaskRun", not "Job".
I've taken a look at the logic to determine whether a pod is chosen to be deleted:
kube-cleanup-operator/pkg/controller/pod.go
Lines 27 to 73 in 538f00d
Is it okay to have additional flag to allow deletion of pods that have owner different than Job ? Thanks in advance.
The text was updated successfully, but these errors were encountered: