Skip to content

Commit

Permalink
metrics: Expose iperf3 pods over a k8s networks.
Browse files Browse the repository at this point in the history
A prerequisite for measuring kata network bandwidth is
run Iperf3 tool at a the transport layer provided by a
k8s service for exposing a network where the clients
inside the cluster can use to contact Pods in the service.

Signed-off-by: David Esparza <david.esparza.borquez@intel.com>
  • Loading branch information
dborquez committed Dec 8, 2023
1 parent a062ba1 commit b257700
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,17 @@ spec:
name: server
terminationGracePeriodSeconds: 0
runtimeClassName: kata

---

apiVersion: v1
kind: Service
metadata:
name: iperf3-server
spec:
selector:
app: iperf3-server
ports:
- protocol: TCP
port: 5201
targetPort: server

0 comments on commit b257700

Please sign in to comment.