zalando-incubator/cluster-lifecycle-manager

Re-fetch pod information before evicting

aermakov-zalando opened this issue · 0 comments

We have a race condition because the Kubernetes Eviction API doesn't properly support statefulset pods (kubernetes/kubernetes#64923). Let's just re-fetch the pod metadata on every eviction attempt, this way we can at least reduce the race window to one or two seconds.