Added NodePort to Service the iperf3.yml

master
Meliurwen 4 years ago
parent 87aae39a19
commit 7668eb2e89
Signed by: meliurwen
GPG Key ID: 818A8B35E9F1CE10
  1. 3
      iperf3.yaml

@ -48,6 +48,7 @@ kind: Service
metadata: metadata:
name: iperf3-server name: iperf3-server
spec: spec:
type: NodePort
selector: selector:
app: iperf3-server app: iperf3-server
ports: ports:
@ -59,7 +60,7 @@ spec:
port: 5201 port: 5201
name: crappy-udp name: crappy-udp
targetPort: server-udp targetPort: server-udp
--- ---
apiVersion: apps/v1 apiVersion: apps/v1

Loading…
Cancel
Save