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

Adding obligatory cleanup to the beginning of every CNI ADD operation #216

Merged
merged 1 commit into from
May 12, 2020

Conversation

Levovar
Copy link
Collaborator

@Levovar Levovar commented May 7, 2020

Before a CNI ADD is performed we unfortunetaly have to checkk if any DanmEps were already created for the exact same Pod, with the exact same UID.
This is because Kubelet can double invoke CNI ADDs without ever invoking CNI DEL in certain cases.
This results in unfortunate extra REST traffic, but is the only way to 100% guarantee correct cluster state.

Before a CNI ADD is performed we unfortunetaly have to checkk if any DanmEps were already created for the exact same Pod.
This is because Kubelet can double invoke CNI ADDs without ever invoking CNI DEL in certain cases.
This results in unfortunate extra REST traffic, but is the only way to guarantee correct cluster state.
@Levovar Levovar merged commit caaf9b5 into master May 12, 2020
@Levovar Levovar deleted the uid_weeding branch May 12, 2020 09:30
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.

1 participant