Skip to content

treewide: Remove /service REST API put and delete support #39084

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

Conversation

joamaki
Copy link
Contributor

@joamaki joamaki commented Apr 22, 2025

The new load-balancing implementation will not support the ID-based service updating and deleting as implemented by the REST API.

This API had been available as part of the standalone Cilium load-balancer (datapath-mode=lb-only) which has been removed in this release, so remove the now unused API definitions and implementation.

The removed "IPv6 Masquerading" ginkgo tests also has not been ran in a long time, so removing it as it relies on "cilium-dbg service update".

@joamaki joamaki added the release-note/misc This PR makes changes that have no direct user impact. label Apr 22, 2025
@joamaki joamaki requested a review from brb April 22, 2025 13:59
@joamaki joamaki force-pushed the pr/joamaki/remove-service-update-api branch 2 times, most recently from 8d235e2 to 2726683 Compare April 23, 2025 08:54
@joamaki
Copy link
Contributor Author

joamaki commented Apr 23, 2025

/test

@joamaki joamaki force-pushed the pr/joamaki/remove-service-update-api branch from 2726683 to c64b8f9 Compare April 24, 2025 15:52
@joamaki
Copy link
Contributor Author

joamaki commented Apr 25, 2025

/test

@joamaki joamaki marked this pull request as ready for review April 25, 2025 07:19
@joamaki joamaki requested review from a team as code owners April 25, 2025 07:19
Copy link
Member

@qmonnet qmonnet left a comment

Choose a reason for hiding this comment

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

Looks good to me, thanks! I dropped a note in #26074 about the test that you remove.

@joamaki joamaki enabled auto-merge April 25, 2025 14:10
@joamaki
Copy link
Contributor Author

joamaki commented Apr 29, 2025

ping @nathanjsweet

Copy link
Member

@nathanjsweet nathanjsweet left a comment

Choose a reason for hiding this comment

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

Nice! Love to see so much deletion!

joamaki added 2 commits April 30, 2025 16:11
The new load-balancing implementation will not support the ID-based
service updating and deleting as implemented by the REST API.

This API had been available as part of the standalone Cilium load-balancer
(datapath-mode=lb-only) which has been removed in this release, so remove
the now unused API definitions and implementation.

Signed-off-by: Jussi Maki <jussi@isovalent.com>
Remove the code using "cilium-dbg service update" or "cilium-dbg service delete".

Remove the "IPv6 Masquerading" test as that has not been run in CI for a long time
and used the "cilium-dbg service update" which is no longer available.

Signed-off-by: Jussi Maki <jussi@isovalent.com>
@joamaki joamaki force-pushed the pr/joamaki/remove-service-update-api branch from c64b8f9 to f393370 Compare April 30, 2025 14:12
@joamaki
Copy link
Contributor Author

joamaki commented Apr 30, 2025

/test

@joamaki joamaki added this pull request to the merge queue Apr 30, 2025
@maintainer-s-little-helper maintainer-s-little-helper bot added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Apr 30, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Apr 30, 2025
@ldelossa ldelossa added this pull request to the merge queue May 1, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks May 1, 2025
@joestringer joestringer added this pull request to the merge queue May 1, 2025
Merged via the queue into cilium:main with commit 79847c9 May 1, 2025
66 checks passed
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-note/misc This PR makes changes that have no direct user impact.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants