-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: Adds test for BPF NAT engine handles unknown protocol packets
Test Case: - Startup Cilium in k8s1 and k8s2 - Create an iperf3 server DaemonSet - Start communication with SCTP packets between iperf3 client (k8s1) and iperf3 server (k8s2) - Check if the client received bytes Fixes: #10541 Signed-off-by: Thiago Navarro <navarro@accuknox.com>
- Loading branch information
1 parent
12dcef5
commit dc318ee
Showing
3 changed files
with
63 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
apiVersion: apps/v1 | ||
kind: DaemonSet | ||
metadata: | ||
name: iperf3-server | ||
spec: | ||
selector: | ||
matchLabels: | ||
name: iperf3 | ||
template: | ||
metadata: | ||
labels: | ||
name: iperf3 | ||
zgroup: testapp | ||
spec: | ||
hostNetwork: true | ||
terminationGracePeriodSeconds: 0 | ||
containers: | ||
- name: iperf3 | ||
image: docker.io/cilium/netperf:2.0 | ||
command: ["iperf3", "-s"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters