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 actions: pwru-run, pwru-log #306

Merged
merged 1 commit into from
Feb 14, 2024
Merged

Conversation

jschwinger233
Copy link
Member

@jschwinger233 jschwinger233 commented Jan 3, 2024

Other action running K8s can simply deploy PWRU and retrieve logs by:

uses: cilium/pwru/actions/pwru-run
with:
  pwru-flags: --output-meta --output-tuple --filter-track-skb
  pwru-pcap-filter: dst host 1.1.1.1 and dst port 53 and udp
  nodename: kind-worker # optional

...

uses: cilium/pwru/actions/pwru-log
if: ${{ !success() }}
with:
  testname: ${{ join(matrix.*, ',') }}

Example of pwru in pod: https://github.com/cilium/cilium/actions/runs/7408235602/job/20156042287
Example of pwru in daemonset: https://github.com/cilium/cilium/actions/runs/7407859278/job/20154878741

@jschwinger233 jschwinger233 force-pushed the gray/action branch 9 times, most recently from 1c15ec5 to a04510d Compare January 4, 2024 10:33
Other action running K8s can simply deploy PWRU and retrieve logs by:

```
uses: cilium/pwru/actions/pwru-run
with:
  pwru-flags: --output-meta --output-tuple
  pwru-pcap-filter: dst host 1.1.1.1 and dst port 53 and udp
  nodename: kind-worker # optional

...

uses: cilium/pwru/actions/pwru-log
if: ${{ always() }}
with:
  testname: ${{ join(matrix.*, ',') }}
```

Signed-off-by: Zhichuang Liang <[email protected]>
@jschwinger233 jschwinger233 marked this pull request as ready for review January 5, 2024 09:13
Copy link
Member

@brb brb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love it!

@brb brb merged commit 0b3d5e1 into cilium:main Feb 14, 2024
5 checks passed
@jschwinger233 jschwinger233 deleted the gray/action branch February 15, 2024 03:46
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