Skip to content

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 area/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
@julianwiedmann julianwiedmann force-pushed the 1.16-ct-format-backendid branch from 8e4d110 to 74115aa Compare May 16, 2024 07:40
@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

@julianwiedmann
Copy link
Member Author

@gentoo-root ping? :)

@julianwiedmann julianwiedmann enabled auto-merge June 12, 2024 07:23
@julianwiedmann julianwiedmann added this pull request to the merge queue Jun 14, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jun 14, 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

Signed-off-by: Julian Wiedmann <jwi@isovalent.com>
@julianwiedmann julianwiedmann force-pushed the 1.16-ct-format-backendid branch from 74115aa to ec96881 Compare June 14, 2024 06:37
@julianwiedmann
Copy link
Member Author

/test

@julianwiedmann julianwiedmann enabled auto-merge June 14, 2024 06:37
@julianwiedmann julianwiedmann added this pull request to the merge queue Jun 14, 2024
Merged via the queue into cilium:main with commit e879425 Jun 14, 2024
@julianwiedmann julianwiedmann deleted the 1.16-ct-format-backendid branch June 14, 2024 07:33
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/datapath Impacts bpf/ or low-level forwarding details, including map management and monitor messages. area/loadbalancing Impacts load-balancing and Kubernetes service implementations feature/conntrack 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.

2 participants