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

sysdump: Log cilium-cli version and arguments #842

Merged
merged 1 commit into from
May 12, 2022

Conversation

michi-covalent
Copy link
Contributor

It would be handy to have the cilium-cli version and flags used to
capture the sysdump in cilium-sysdump.log.

Sample outputs:

  • No flags:

    % ./cilium sysdump
    🔍 Collecting sysdump with cilium-cli version: v0.11.5-18-gd3a523a1, args: [sysdump]
    
  • With some flags:

    % ./cilium sysdump --hubble-flows-count 10 --hubble-flows-timeout 5s
    🔍 Collecting sysdump with cilium-cli version: v0.11.5-18-gd3a523a1, args: [sysdump --hubble-flows-count 10 --hubble-flows-timeout 5s]
    

Signed-off-by: Michi Mutsuzaki [email protected]

@michi-covalent michi-covalent requested a review from a team as a code owner May 12, 2022 00:32
@michi-covalent michi-covalent requested a review from twpayne May 12, 2022 00:32
@michi-covalent michi-covalent temporarily deployed to ci May 12, 2022 00:32 Inactive
@michi-covalent
Copy link
Contributor Author

updating unit tests

It would be handy to have the cilium-cli version and flags used to
capture the sysdump in cilium-sysdump.log.

Sample outputs:

- No flags:

      % ./cilium sysdump
      🔍 Collecting sysdump with cilium-cli version: v0.11.5-18-gd3a523a1, args: [sysdump]

- With some flags:

      % ./cilium sysdump --hubble-flows-count 10 --hubble-flows-timeout 5s
      🔍 Collecting sysdump with cilium-cli version: v0.11.5-18-gd3a523a1, args: [sysdump --hubble-flows-count 10 --hubble-flows-timeout 5s]

Signed-off-by: Michi Mutsuzaki <[email protected]>
@michi-covalent michi-covalent force-pushed the pr/michi/sysdump-cli-version branch from f733d9d to 7d86d63 Compare May 12, 2022 01:23
@michi-covalent michi-covalent temporarily deployed to ci May 12, 2022 01:23 Inactive
@tklauser tklauser merged commit dbbe3b3 into master May 12, 2022
@tklauser tklauser deleted the pr/michi/sysdump-cli-version branch May 12, 2022 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants