Background
After these changes 43266d771bc302039e05761732d5519450a9d800 we removed force delete for pods which sometimes lead to pod hanging in terminated status for unlimited period.
Approach
PodMonitor shall contain in-memory list of pods which failed to be deleted and if pod is not deleted in N attempts (set as SystemPreference) pod shall be force deleted.
Background After these changes 43266d771bc302039e05761732d5519450a9d800 we removed force delete for pods which sometimes lead to pod hanging in terminated status for unlimited period.
Approach PodMonitor shall contain in-memory list of pods which failed to be deleted and if pod is not deleted in N attempts (set as SystemPreference) pod shall be force deleted.