-
Notifications
You must be signed in to change notification settings - Fork 193
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
sysdump: Collect hubble flows #458
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀 Amazing
39ec022
to
2452254
Compare
test failures are not releated to the PR, but
looking into it... |
2452254
to
08a38a8
Compare
🤟 |
marking as draft 😞 |
08a38a8
to
80af21a
Compare
working around cilium/cilium#17036 for now by running |
f8d1e02
to
18af86a
Compare
18af86a
to
0f496a6
Compare
attempting to fix the external workloads failure in #463 |
Optionally collect hubble flows as a part of sysdump. This PR adds two new flags to the sysdump subcommand: --hubble-flows-timeout Timeout for the flow collection task. Default to 5 seconds. --hubble-flows-count Specifies the --last flag to pass to hubble observe command. Default to zero, which disables the flow collection altogether. Note that the actual number of flows that get collected might be different from the value specified by this flag. The output file can then be passed to hubble observe command, for example: cat hubble-flows-cilium-nq247-20210729-220228.json | hubble observe Signed-off-by: Michi Mutsuzaki <michi@isovalent.com>
Set --hubble-flows-count in the Kind workflow to test the flow collection logic. I'll update other workflows once this PR gets merged. Signed-off-by: Michi Mutsuzaki <michi@isovalent.com>
0f496a6
to
01f8d41
Compare
rebased to pick up #463 |
Optionally collect hubble flows as a part of sysdump. This PR adds two
new flags to the sysdump subcommand:
--hubble-flows-timeout
Timeout for the flow collection task. Default to 5 seconds.
--hubble-flows-count
Specifies the --last flag to pass to hubble observe command. Default
to zero, which disables the flow collection altogether. Note that the
actual number of flows that get collected might be different from the
value specified by this flag.
The output file can then be passed to hubble observe command, for example:
Signed-off-by: Michi Mutsuzaki michi@isovalent.com