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
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