Closed gkrizek closed 5 years ago
Hi, I saw that behaviour as well. I assume that it deletes the job ( which deletes the pod) and then it tries to delete the pod.
Ok, I seemed to be having issues where deleting jobs doesn't always delete pods. But i think that's an issue with my Kubernetes version. I'll try to dig into this more when I have time to confirm what's going on.
there should be no more messages in the logs about failed to delete **
. But duplicate lines is expected behaviour, since operator runs reconcile function on each event and API server sends events on each change of the state
I'm following your example in the README. I can get cleanup-operator running just fine, but I'm seeing a weird problem where it seems like it's trying to remove the job and pod twice.
After the cleanup-operator was running, I simply ran:
After it completes, I see this in the log:
I can confirm there is only 1 job and 1 pod so I have no idea why it would be trying twice like that.
I'm running on AWS EKS with Kube 1.12. Thanks!