-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Remove ServiceCache, ServiceManager and legacy LB types #40022
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
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
490b507
to
d71d3d2
Compare
/test |
brb
approved these changes
Jun 13, 2025
d71d3d2
to
fa4b1cc
Compare
/test |
giorio94
approved these changes
Jun 13, 2025
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.
/lgtm for my codeowners, thanks!
fa4b1cc
to
3738272
Compare
/test |
joestringer
approved these changes
Jun 13, 2025
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.
Changes LGTM for my code owners.
Extend testdata/ to cover all tests that services_test.go does and remove services_test.go. Signed-off-by: Jussi Maki <jussi@isovalent.com>
These are now unused. Signed-off-by: Jussi Maki <jussi@isovalent.com>
Signed-off-by: Jussi Maki <jussi@isovalent.com>
The ID-based lookup of services has been deprecated since v1.14, so finally remove it. We have now better ways of looking up services, e.g. via "db/get frontends" etc. To find by ID one can use "service list" (maybe with -o json) or via "db/show frontends -f json" and search with 'jq'. Signed-off-by: Jussi Maki <jussi@isovalent.com>
Implement conversion of [Frontend] to [models.Service] and switch the /service and /debug handlers to querying against the frontend table. Signed-off-by: Jussi Maki <jussi@isovalent.com>
These are no longer used. Signed-off-by: Jussi Maki <jussi@isovalent.com>
Do a lookup from frontends table in the hubble payload parser and drop the GetServiceNameByAddr. Signed-off-by: Jussi Maki <jussi@isovalent.com>
Signed-off-by: Jussi Maki <jussi@isovalent.com>
Signed-off-by: Jussi Maki <jussi@isovalent.com>
These constructors are no longer used. If a sub-system needs to access CECs then it should be using Table[*ciliumenvoyconfig.CEC]. Signed-off-by: Jussi Maki <jussi@isovalent.com>
These maps no longer are configured with WithEvents(). Given that we have good record of what was reconciled in Table[*Frontend] the events buffer isn't that useful. Signed-off-by: Jussi Maki <jussi@isovalent.com>
ab6b6eb
to
1dbb6aa
Compare
/test |
squeed
approved these changes
Jun 16, 2025
glrf
approved these changes
Jun 16, 2025
kaworu
approved these changes
Jun 16, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
ready-to-merge
This PR has passed all tests and received consensus from code owners to merge.
release-blocker/1.18
This issue will prevent the release of the next version of Cilium.
release-note/misc
This PR makes changes that have no direct user impact.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is the final piece of the load-balancing control-plane cleanup to fully remove the old load-balancing control-plane implementation and types.
ServiceCache
,ServiceManager
,LegacyBackend
andLegacySVC
lastUpdated
?)