Skip to content

clustermesh: exclude back non ready/non serving endpoints#43807

Merged
MrFreezeex merged 1 commit intocilium:mainfrom
MrFreezeex:fix-clustermesh-global-svc
Jan 26, 2026
Merged

clustermesh: exclude back non ready/non serving endpoints#43807
MrFreezeex merged 1 commit intocilium:mainfrom
MrFreezeex:fix-clustermesh-global-svc

Conversation

@MrFreezeex
Copy link
Copy Markdown
Member

@MrFreezeex MrFreezeex commented Jan 16, 2026

This adds back a check to skip some endpoints that should not receive anyvtraffic in the ClusterMesh context.

Before the fixed commit this filtering was done through the resource / ParseEndpointSliceV1 but this was removed so that everything can be kept it in he backend maps while backends are excluded correctly at the datapath level.

However as ClusterMesh doesn't retain any info on the Endpoint conditions, those are essentially lost and we would propagate them like any fully ready backends unfortunately.

clustermesh: correctly phase out not ready/not service endpoints from global services

@MrFreezeex MrFreezeex requested review from a team, giorio94 and joamaki and removed request for a team January 16, 2026 10:19
@MrFreezeex MrFreezeex added kind/bug This is a bug in the Cilium logic. area/clustermesh Relates to multi-cluster routing functionality in Cilium. release-blocker/1.19 This issue will prevent the release of the next version of Cilium. affects/v1.19 This issue affects v1.19 branch needs-backport/1.19 This PR / issue needs backporting to the v1.19 branch labels Jan 16, 2026
@maintainer-s-little-helper maintainer-s-little-helper bot added dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. labels Jan 16, 2026
@MrFreezeex MrFreezeex added release-note/bug This PR fixes an issue in a previous release of Cilium. and removed kind/bug This is a bug in the Cilium logic. dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. labels Jan 16, 2026
@MrFreezeex
Copy link
Copy Markdown
Member Author

/test

@MrFreezeex MrFreezeex marked this pull request as ready for review January 16, 2026 10:21
@MrFreezeex MrFreezeex requested a review from a team as a code owner January 16, 2026 10:21
@MrFreezeex MrFreezeex force-pushed the fix-clustermesh-global-svc branch from 3f9c05c to ed784e9 Compare January 16, 2026 10:42
@MrFreezeex
Copy link
Copy Markdown
Member Author

/test

This add back a check to skip some endpoints that should not receive any
traffic in the ClusterMesh context.

Before the fixed commit this filtering was done through the resource /
ParseEndpointSliceV1 but this was removed so that everything can be kept it in
the backend maps while the backends not supposed to serve new connections would
be excluded directly by the datapath.

However as ClusterMesh doesn't retain any info on the Endpoint
conditions, those are essentially lost and we would propagate them like any
fully ready backends unfortunately.

Fixes: 6f41c98 ("loadbalancer: Keep non-serving terminating backends")

Signed-off-by: Arthur Outhenin-Chalandre <git@mrfreezeex.fr>
@MrFreezeex MrFreezeex force-pushed the fix-clustermesh-global-svc branch from ed784e9 to 1d062da Compare January 16, 2026 11:07
@MrFreezeex
Copy link
Copy Markdown
Member Author

/test

@MrFreezeex MrFreezeex changed the title clustermesh: exclude back non ready/non service endpoints clustermesh: exclude back non ready/non serving endpoints Jan 16, 2026
@MrFreezeex
Copy link
Copy Markdown
Member Author

Ah it seems to affect v1.18 as well :/ #42708

@MrFreezeex MrFreezeex added needs-backport/1.18 This PR / issue needs backporting to the v1.18 branch affects/v1.18 This issue affects v1.18 branch labels Jan 16, 2026
Copy link
Copy Markdown
Member

@giorio94 giorio94 left a comment

Choose a reason for hiding this comment

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

Thanks!

@joestringer joestringer moved this from Proposed to Active in Release blockers Jan 23, 2026
@joestringer
Copy link
Copy Markdown
Member

@cilium/operator / @joamaki please take a look when you get the chance 🙏

@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 Jan 26, 2026
@MrFreezeex MrFreezeex added this pull request to the merge queue Jan 26, 2026
Merged via the queue into cilium:main with commit e382a33 Jan 26, 2026
76 checks passed
@MrFreezeex MrFreezeex deleted the fix-clustermesh-global-svc branch January 26, 2026 11:34
@github-project-automation github-project-automation bot moved this from Active to Done in Release blockers Jan 26, 2026
@joestringer joestringer added backport-pending/1.19 The backport for Cilium 1.19.x for this PR is in progress. and removed needs-backport/1.19 This PR / issue needs backporting to the v1.19 branch labels Jan 27, 2026
@github-actions github-actions bot added backport-done/1.19 The backport for Cilium 1.19.x for this PR is done. and removed backport-pending/1.19 The backport for Cilium 1.19.x for this PR is in progress. labels Jan 27, 2026
@mhofstetter mhofstetter mentioned this pull request Jan 29, 2026
6 tasks
@mhofstetter mhofstetter added backport-pending/1.18 The backport for Cilium 1.18.x for this PR is in progress. and removed needs-backport/1.18 This PR / issue needs backporting to the v1.18 branch labels Jan 29, 2026
@github-actions github-actions bot added backport-done/1.18 The backport for Cilium 1.18.x for this PR is done. and removed backport-pending/1.18 The backport for Cilium 1.18.x for this PR is in progress. labels Jan 30, 2026
@cilium-release-bot cilium-release-bot bot moved this to Released in cilium v1.19.0 Feb 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

affects/v1.18 This issue affects v1.18 branch affects/v1.19 This issue affects v1.19 branch area/clustermesh Relates to multi-cluster routing functionality in Cilium. backport-done/1.18 The backport for Cilium 1.18.x for this PR is done. backport-done/1.19 The backport for Cilium 1.19.x for this PR is done. ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-blocker/1.19 This issue will prevent the release of the next version of Cilium. release-note/bug This PR fixes an issue in a previous release of Cilium.

Projects

Archived in project
Status: Released

Development

Successfully merging this pull request may close these issues.

5 participants