From 2c23dfd8db8ebb71cbb9561442bfe0099a700b78 Mon Sep 17 00:00:00 2001 From: meliurwen Date: Wed, 2 Dec 2020 01:28:13 +0100 Subject: [PATCH] Fixed ports misconfiguration in the yml --- iperf3.yaml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/iperf3.yaml b/iperf3.yaml index ad75ab2..a97581c 100644 --- a/iperf3.yaml +++ b/iperf3.yaml @@ -34,7 +34,11 @@ spec: args: ['-s'] ports: - containerPort: 5201 - name: server + protocol: TCP + name: server-tcp + - containerPort: 5201 + protocol: UDP + name: server-udp terminationGracePeriodSeconds: 0 --- @@ -49,10 +53,10 @@ spec: ports: - protocol: TCP port: 5201 - targetPort: server + targetPort: server-tcp - protocol: UDP port: 5201 - targetPort: server + targetPort: server-udp ---