Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don’t trust pod reflector when deciding whether to delete #208

Merged
merged 1 commit into from
Jul 9, 2018

Conversation

minrk
Copy link
Member

@minrk minrk commented Jul 8, 2018

If pod reflector hasn’t noticed this pod yet, removal won’t be attempted, leading to a leak in pods.

Instead, just attempt deletion and handle the 404 if it’s really not there.

This exacerbates a failure mode where the pod_reflector starts missing events because pods that start but aren't noticed will be believed to be not running and won't be deleted.

This optimization was introduced in #196, but isn't worth the cost.

If pod reflector hasn’t noticed this pod yet, removal won’t be attempted, leading to a leak in pods.

Instead, just attempt deletion and handle the 404 if it’s really not there.
@choldgraf
Copy link
Member

@minrk we're running into a "culling runaway" failure mode again, which I think this would fix, yes? Should we just merge this and deploy?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants