Skip to content

Conversation

joamaki
Copy link
Contributor

@joamaki joamaki commented Jan 26, 2024

LoadBalancerNodeAddresses() and LocalAddresses() methods in NodeAddressing were simple queries around the Table[NodeAddress]. Since all use-sites are now modularized and it's easy to pass Table[NodeAddress] in, remove these methods from NodeAddressing.

NodeAddressing concept itself will be eventually removed, with node addresses available via Table[NodeAddress] and the rest via LocalNodeStore.

@maintainer-s-little-helper maintainer-s-little-helper bot added the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label Jan 26, 2024
@joamaki
Copy link
Contributor Author

joamaki commented Jan 26, 2024

One bit of background here: I'm working on removing all "wrappers" for retrieving data from the Table[NodeAddress] with the goal of making it obvious that we need to observe the table for changes and thus perform reconciliation if it changes. NodeAddressing in particular hides the fact that the data is dynamic.

@joamaki joamaki force-pushed the pr/joamaki/nodeaddressing-cleanup branch 2 times, most recently from a346fa0 to ec45a20 Compare January 29, 2024 11:52
@joamaki joamaki added the release-note/misc This PR makes changes that have no direct user impact. label Jan 29, 2024
@maintainer-s-little-helper maintainer-s-little-helper bot removed the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label Jan 29, 2024
@joamaki
Copy link
Contributor Author

joamaki commented Jan 29, 2024

/test

@joamaki joamaki force-pushed the pr/joamaki/nodeaddressing-cleanup branch from ec45a20 to 56ed413 Compare January 29, 2024 14:55
@joamaki
Copy link
Contributor Author

joamaki commented Jan 29, 2024

/test

@joamaki joamaki force-pushed the pr/joamaki/nodeaddressing-cleanup branch 3 times, most recently from da40232 to 04ee127 Compare January 30, 2024 13:27
@joamaki
Copy link
Contributor Author

joamaki commented Jan 30, 2024

/test

@joamaki joamaki force-pushed the pr/joamaki/nodeaddressing-cleanup branch from 04ee127 to c1df40e Compare February 1, 2024 12:01
Copy link

github-actions bot commented Mar 3, 2024

This pull request has been automatically marked as stale because it
has not had recent activity. It will be closed if no further activity
occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale The stale bot thinks this issue is old. Add "pinned" label to prevent this from becoming stale. label Mar 3, 2024
Copy link

This pull request has not seen any activity since it was marked stale.
Closing.

@github-actions github-actions bot closed this Mar 17, 2024
@joamaki joamaki reopened this Apr 9, 2024
@github-actions github-actions bot removed the stale The stale bot thinks this issue is old. Add "pinned" label to prevent this from becoming stale. label Apr 10, 2024
@joamaki joamaki force-pushed the pr/joamaki/nodeaddressing-cleanup branch from c1df40e to b7c84d0 Compare April 12, 2024 09:47
@joamaki joamaki force-pushed the pr/joamaki/nodeaddressing-cleanup branch from b7c84d0 to 22c2e8d Compare April 24, 2024 08:28
@joamaki
Copy link
Contributor Author

joamaki commented Apr 24, 2024

The next steps after this is to remove the rest of NodeAddressing and instead use LocalNodeStore and move the DirectRouting() logic into its own thing.

@joamaki
Copy link
Contributor Author

joamaki commented Apr 25, 2024

/test

@joamaki joamaki force-pushed the pr/joamaki/nodeaddressing-cleanup branch 3 times, most recently from 4967bdc to 69c1a53 Compare April 30, 2024 12:00
@joamaki
Copy link
Contributor Author

joamaki commented Apr 30, 2024

/test

@joamaki joamaki force-pushed the pr/joamaki/nodeaddressing-cleanup branch from 69c1a53 to b19c569 Compare April 30, 2024 12:50
@joamaki
Copy link
Contributor Author

joamaki commented Apr 30, 2024

/test

@joamaki joamaki marked this pull request as ready for review April 30, 2024 16:12
@joamaki joamaki requested review from a team as code owners April 30, 2024 16:12
@joamaki joamaki requested review from nebril, jibi, rgo3 and thorn3r April 30, 2024 16:12
Copy link
Member

@nebril nebril left a comment

Choose a reason for hiding this comment

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

LGTM for ci-structure

Copy link
Contributor

@thorn3r thorn3r left a comment

Choose a reason for hiding this comment

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

clustermesh changes LGTM 👍 looks like you have a conflict though

@joamaki joamaki force-pushed the pr/joamaki/nodeaddressing-cleanup branch from b19c569 to c06478e Compare May 7, 2024 08:19
@joamaki
Copy link
Contributor Author

joamaki commented May 7, 2024

/test

joamaki added 2 commits May 8, 2024 14:01
The recently introduced darwin build check in the "Check if build works for every commit"
started to fail now due to the use of the unix package and the RT_* constants. Inline these
constants into the tables package in order to keep it buildable for non-Linux platforms.

Signed-off-by: Jussi Maki <jussi@isovalent.com>
LoadBalancerNodeAddresses() and LocalAddresses() methods in NodeAddressing were
simple queries around the Table[NodeAddress]. Since all use-sites are now
modularized and it's easy to pass Table[NodeAddress] in, remove these
methods from NodeAddressing.

NodeAddressing concept itself will be eventually removed, with node addresses
available via Table[NodeAddress] and the rest via LocalNodeStore.

Signed-off-by: Jussi Maki <jussi@isovalent.com>
@joamaki joamaki force-pushed the pr/joamaki/nodeaddressing-cleanup branch from c06478e to 92e036a Compare May 8, 2024 12:02
@joamaki
Copy link
Contributor Author

joamaki commented May 8, 2024

/test

@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 May 9, 2024
@joamaki joamaki added this pull request to the merge queue May 9, 2024
Merged via the queue into cilium:main with commit 1d6689c May 9, 2024
@joamaki joamaki deleted the pr/joamaki/nodeaddressing-cleanup branch May 9, 2024 07:34
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.

5 participants