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

ctmap: dump CT entry's BackendID #32563

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

julianwiedmann
Copy link
Member

@julianwiedmann julianwiedmann commented May 16, 2024

Service connections store their selected backend ID in the SVC-type CT entry. Dump this field on cilium-dbg bpf ct list global.

This then looks like:
TCP SVC 10.244.0.62:55394 -> 10.96.0.1:443 expires=158116 ... BackendID=1

@julianwiedmann julianwiedmann added sig/datapath Impacts bpf/ or low-level forwarding details, including map management and monitor messages. area/bugtool Impacts gathering of data for debugging purposes. release-note/misc This PR makes changes that have no direct user impact. feature/conntrack area/loadbalancing Impacts load-balancing and Kubernetes service implementations labels May 16, 2024
@julianwiedmann
Copy link
Member Author

/test

@julianwiedmann julianwiedmann marked this pull request as ready for review May 16, 2024 07:24
@julianwiedmann julianwiedmann requested a review from a team as a code owner May 16, 2024 07:24
Service connections store their selected backend ID in the SVC-type CT
entry. Dump this field on `cilium-dbg bpf ct list global`.

This then looks like:
TCP SVC 10.244.0.62:55394 -> 10.96.0.1:443 expires=158116 ... BackendID=1

Signed-off-by: Julian Wiedmann <jwi@isovalent.com>
@julianwiedmann
Copy link
Member Author

Moved the BackendID to the end of the formatted string, to avoid breaking code that parses the output (eg. the IPv4 Fragmentation tests).

@julianwiedmann
Copy link
Member Author

/test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/bugtool Impacts gathering of data for debugging purposes. area/loadbalancing Impacts load-balancing and Kubernetes service implementations feature/conntrack release-note/misc This PR makes changes that have no direct user impact. sig/datapath Impacts bpf/ or low-level forwarding details, including map management and monitor messages.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant