Skip to content

traffic distribution: support PreferSameZone and PreferSameNode#44771

Merged
dylandreimerink merged 4 commits intocilium:mainfrom
raphink:prefersamenode
Mar 27, 2026
Merged

traffic distribution: support PreferSameZone and PreferSameNode#44771
dylandreimerink merged 4 commits intocilium:mainfrom
raphink:prefersamenode

Conversation

@raphink
Copy link
Copy Markdown
Member

@raphink raphink commented Mar 13, 2026

  • traffic distribution: add PreferSameNode and PreferSameZone values
  • implement PreferSameZone alias
  • Implement PreferSameNode
Add support for `PreferSameZone` and `PreferSameNode` traffic distribution 

@raphink raphink requested a review from a team as a code owner March 13, 2026 15:44
@raphink raphink requested a review from dylandreimerink March 13, 2026 15:44
@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 Mar 13, 2026
Copy link
Copy Markdown
Member

@dylandreimerink dylandreimerink left a comment

Choose a reason for hiding this comment

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

Changes look good to me.

But I would like to see the tests updated to add test coverage for this new logic. By adding a new case to https://github.com/cilium/cilium/blob/main/pkg/loadbalancer/tests/testdata/topology-aware.txtar or by creating a new script.

@raphink
Copy link
Copy Markdown
Member Author

raphink commented Mar 16, 2026

Sure, here you go!

@dylandreimerink dylandreimerink added the release-note/minor This PR changes functionality that users may find relevant to operating Cilium. label Mar 19, 2026
@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 Mar 19, 2026
@dylandreimerink
Copy link
Copy Markdown
Member

/test

raphink added 4 commits March 20, 2026 11:02
Signed-off-by: Raphaël Pinson <raphael@isovalent.com>
Signed-off-by: Raphaël Pinson <raphael@isovalent.com>
Signed-off-by: Raphaël Pinson <raphael@isovalent.com>
Signed-off-by: Raphaël Pinson <raphael@isovalent.com>
@dylandreimerink
Copy link
Copy Markdown
Member

/test

1 similar comment
@cilium-ariane
Copy link
Copy Markdown

cilium-ariane bot commented Mar 20, 2026

/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 Mar 20, 2026
@dylandreimerink dylandreimerink added this pull request to the merge queue Mar 27, 2026
Merged via the queue into cilium:main with commit 1699e59 Mar 27, 2026
78 of 79 checks passed
@borkmann
Copy link
Copy Markdown
Member

borkmann commented Mar 31, 2026

@raphink Please also extend the Cilium KPR docs with a new section on trafficDistribution, what options we support, and how the options are handled internally by Cilium regarding backends. Also some example config + cilium service list dump would be great so that users get a better picture.

Also in future lets not do empty commit messages, but rather explain a bit more in detail what/how/why you've implemented it.

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/minor This PR changes functionality that users may find relevant to operating Cilium.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants