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

Add a bpf auth flush command #27216

Merged
merged 1 commit into from
Aug 23, 2023
Merged

Conversation

meyskens
Copy link
Member

@meyskens meyskens commented Aug 2, 2023

This command in cilium-agent allows the user to flush the auth map. This can be used to force re-auths between all entities for debugging purposes.

This is useful to force an auth handshake on a given agent node when debugging. (once #27183 is fixed)

This function works similar to the nat flush command.

Add `cilium bpf auth flush` command for debugging purposes

@meyskens meyskens requested a review from a team August 2, 2023 12:38
@meyskens meyskens requested a review from a team as a code owner August 2, 2023 12:38
@meyskens meyskens requested review from sayboras and removed request for a team August 2, 2023 12:38
@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 Aug 2, 2023
@meyskens meyskens added the release-note/minor This PR changes functionality that users may find relevant to operating Cilium. label Aug 2, 2023
@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 Aug 2, 2023
@sayboras
Copy link
Member

sayboras commented Aug 2, 2023

Also you might need to run make -C Documentation update-cmdref to generate related docs

@meyskens meyskens force-pushed the meyskens/bof-auth-flush branch 2 times, most recently from 278ad4e to df7b867 Compare August 3, 2023 08:09
@meyskens meyskens requested a review from sayboras August 3, 2023 08:31
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 ✔️

@meyskens
Copy link
Member Author

/test

This command in cilium-agent allows the user to flush the auth map.
This can be used to force re-auths between all enteties for debugging
purposes.

Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
Signed-off-by: Maartje Eyskens <maartje.eyskens@isovalent.com>
@meyskens
Copy link
Member Author

/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 Aug 23, 2023
@joestringer joestringer merged commit e5d5afe into cilium:main Aug 23, 2023
59 of 60 checks passed
@meyskens meyskens deleted the meyskens/bof-auth-flush branch August 25, 2023 10:42
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.

None yet

4 participants