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

Misc. clustermesh debug cleanups #23588

Merged
merged 5 commits into from
Feb 10, 2023
Merged

Conversation

tklauser
Copy link
Member

@tklauser tklauser commented Feb 6, 2023

See commits for details.

@tklauser tklauser added kind/cleanup This includes no functional changes. area/clustermesh Relates to multi-cluster routing functionality in Cilium. release-note/misc This PR makes changes that have no direct user impact. labels Feb 6, 2023
@tklauser tklauser requested review from a team as code owners February 6, 2023 09:00
@tklauser tklauser added the needs-backport/1.13 This PR / issue needs backporting to the v1.13 branch label Feb 6, 2023
@tklauser
Copy link
Member Author

tklauser commented Feb 6, 2023

/test

Job 'Cilium-PR-K8s-1.24-kernel-5.4' hit: #22019 (93.52% similarity)

These were probably copied from OnUpdate without modification.

Signed-off-by: Tobias Klauser <tobias@cilium.io>
The mutex doesn't need to be held yet while constructing scopedLog.

Signed-off-by: Tobias Klauser <tobias@cilium.io>
Signed-off-by: Tobias Klauser <tobias@cilium.io>
Pass it as a parameter to k8sServiceHandler instead.

Signed-off-by: Tobias Klauser <tobias@cilium.io>
The generated (*Service).deepEqual method already checks the
Shared, IncludeExternal and ServiceAffinity members (among others). Thus
we can drop the explicit check. Also move the call to s.deepEqual
further up as it is computationally less expensive than e.g. comparing
FrontendIPs.

Signed-off-by: Tobias Klauser <tobias@cilium.io>
@tklauser tklauser force-pushed the pr/tklauser/clustermesh-misc-fixes branch from 23f867b to e629769 Compare February 6, 2023 21:56
@tklauser
Copy link
Member Author

tklauser commented Feb 6, 2023

/test

Copy link
Member

@sayboras sayboras left a comment

Choose a reason for hiding this comment

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

LGTM ✅

@tklauser tklauser added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Feb 10, 2023
@pchaigno pchaigno merged commit 32e0021 into master Feb 10, 2023
@pchaigno pchaigno deleted the pr/tklauser/clustermesh-misc-fixes branch February 10, 2023 15:07
@pchaigno pchaigno mentioned this pull request Feb 12, 2023
29 tasks
@pchaigno pchaigno added backport-pending/1.13 The backport for Cilium 1.13.x for this PR is in progress. and removed needs-backport/1.13 This PR / issue needs backporting to the v1.13 branch labels Feb 12, 2023
@aanm aanm added backport-done/1.13 The backport for Cilium 1.13.x for this PR is done. and removed backport-pending/1.13 The backport for Cilium 1.13.x for this PR is in progress. labels Feb 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/clustermesh Relates to multi-cluster routing functionality in Cilium. backport-done/1.13 The backport for Cilium 1.13.x for this PR is done. kind/cleanup This includes no functional changes. 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.

None yet

5 participants