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
v1.14 Backports 2024-03-25 #31585
v1.14 Backports 2024-03-25 #31585
Conversation
/test-backport-1.14 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The batch delete PR looks good to me, with one thing that needs to be changed. I assume the only conflicts were in OpenAPI files?
[upstream commit a0ba133] This commit adds and implements a new endpoint batch deletion request. This allows the deletion of all endpoints associated with a particular containerID, which simplifies the CNI DEL logic for the CNI plugin if more than one endpoint are attached to a particular container. Co-authored-by: Tobias Klauser <tobias@isovalent.com> Signed-off-by: Sebastian Wicki <sebastian@isovalent.com> Signed-off-by: Tobias Klauser <tobias@isovalent.com>
[upstream commit 7666581] This commit adds support for the batch delete API call in the endpoint deletion queue. The endpoint deletion queue is used to enqueue endpoint deletion requests in CNI DEL when cilium-agent is unavailable. Support for batch deletion in the deletion queue is particularly important, because if cilium-agent is unavailable, we cannot query it for endpoints which belong to a particular container. Before this commit, a endpoint deletion queue entry just contained a string that represented a unique endpoint identifier. To support more flexible batch deletion requests, we now instead serialize the full HTTP API `EndpointDeleteRequest` as JSON. The new format is more flexible, as it allows us to add more fields in the future. The old format (the endpoint ID as a plain string) is still supported for backwards-compatibility. Co-authored-by: Tobias Klauser <tobias@isovalent.com> Signed-off-by: Sebastian Wicki <sebastian@isovalent.com> Signed-off-by: Tobias Klauser <tobias@isovalent.com> Signed-off-by: Tam Mach <tam.mach@cilium.io>
1d6a656
to
bdbf963
Compare
/test-backport-1.14 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome, this looks good to me!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR description mentions that there were several conflicts but the commit messages don't contain any backporter notes section mentioning how they were resolved. If you recall the resolutions, would you mind adding a small section to each commit?
The changes themselves look good to me.
cni: Use batch endpoint deletion API in chaining plugin #31456 (@sayboras )it's not required anymoreOnce this PR is merged, a GitHub action will update the labels of these PRs: