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

Added common endpoint provider interface and fixed route deletion iss… #761

Merged

Conversation

p-strusiewiczsurmacki-mobica
Copy link
Contributor

…ues in routing table mode

This PR introduces common interface for endpoints and endpointslices. This way endpoints and endpointslices watchers do not have to be maintained separately (as both do mostly the same, but using different Kubernetes resources).

Also fixed some issues with routing table cleanup when running in no-leader-election mode (e.g. routes were not properly deleted from the node when local policy was used if pods were deleted when kube-vip was not running, and then was deployed again).

Also this should fix #754 - already exist error will not be logged if route is already there.

I would recommend to create new tag v0.7.1 image with those changes if possible.

…ues in routing table mode

Signed-off-by: Patryk Strusiewicz-Surmacki <patryk-pawel.strusiewicz-surmacki@external.telekom.de>
Signed-off-by: Patryk Strusiewicz-Surmacki <patryk-pawel.strusiewicz-surmacki@external.telekom.de>
@MaxRink
Copy link

MaxRink commented Feb 13, 2024

I would recommend to retag v0.7.0 image with those changes if possible.

IMO thats not a good idea, as that will lead to people having no clue if they are running a broken or fixed version. IMO the right thing to do is tag 0.7.1 and adding a notice on 0.7.0

Signed-off-by: Patryk Strusiewicz-Surmacki <patryk-pawel.strusiewicz-surmacki@external.telekom.de>
@p-strusiewiczsurmacki-mobica p-strusiewiczsurmacki-mobica marked this pull request as ready for review February 14, 2024 16:32
Copy link
Collaborator

@thebsdbox thebsdbox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, this is a lot cleaner!

@thebsdbox thebsdbox merged commit b666a95 into kube-vip:main Feb 15, 2024
9 checks passed
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.

[Bug] When kube-vip reconciles in Table/BGP Mode it should reconcile gracefully.
3 participants