lwolf / kube-cleanup-operator

Kubernetes Operator to automatically delete completed Jobs and their Pods
MIT License
498 stars 109 forks source link

Other Pod(s) Status Clean up & Pod(s) stuck in Terminating state #89

Open reddymh opened 1 year ago

reddymh commented 1 year ago

Added the below changes:

1) Pod(s) which are stuck in Terminating state and requires graceful delete based on age/time ( experimental change and will discuss about controlling thru flag) 2) Pod(s) which are in Error/ContainerStatusUnknown/OOMKilled/Terminated/Completed(Sometimes running pod changes to completed due to node re-creation/preemptive nodes ) based on age/time. 3) Other states like OutOfpods , OutOfcpus , Terminated etc

Issues #88 :

https://github.com/lwolf/kube-cleanup-operator/issues/88