---
apiVersion: v1
kind: Pod
metadata:
  name: netperf-server
  labels:
    id: netperf-server
    zgroup: testapp
spec:
  terminationGracePeriodSeconds: 0
  containers:
  - name: netperf
    image: docker.io/tgraf/netperf:v1.0
    readinessProbe:
      exec:
        command: ["netperf", "-H", "127.0.0.1", "-l", "1"]
      # This timeout needs to be higher than the time netperf command takes to
      # finish its execution
      timeoutSeconds: 5
---
apiVersion: v1
kind: Pod
metadata:
  name: netperf-client
  labels:
    id: netperf-client
    zgroup: testapp
spec:
  terminationGracePeriodSeconds: 0
  containers:
  - name: netperf
    image: docker.io/tgraf/netperf:v1.0
---
apiVersion: v1
kind: Service
metadata:
  name: netperf-service
spec:
  ports:
  - port: 12865
  selector:
    name: netperf-server

---
apiVersion: v1
kind: Pod
metadata:
  name: netperf-server
  labels:
    id: netperf-server
    zgroup: testapp
spec:
  terminationGracePeriodSeconds: 0
  containers:
  - name: netperf
    image: docker.io/tgraf/netperf:v1.0
    readinessProbe:
      exec:
        command: ["netperf", "-H", "127.0.0.1", "-l", "1"]
      # This timeout needs to be higher than the time netperf command takes to
      # finish its execution
      timeoutSeconds: 5
---
apiVersion: v1
kind: Pod
metadata:
  name: netperf-client
  labels:
    id: netperf-client
    zgroup: testapp
spec:
  terminationGracePeriodSeconds: 0
  containers:
  - name: netperf
    image: docker.io/tgraf/netperf:v1.0
---
apiVersion: v1
kind: Service
metadata:
  name: netperf-service
spec:
  ports:
  - port: 12865
  selector:
    id: netperf-server

Fix incorrect selector for netperf-service
test: Fix incorrect selector for netperf-service

Caught by random chance when using this manifest to test something
locally. Might as well fix it in case someone uses this in the future
and the service is not working as expected.

AFAICT, no CI failures occurred from this typo because the Chaos test
suite (only suite which uses this manifest) doesn't assert any traffic
to the service, but rather to the netperf-server directly.

Fixes: b4a3cf6abc6 ("Test: Run netperf in background while Cilium pod is
being deleted")

Signed-off-by: Chris Tarazi <711c73f64afdce07b7e38039a96d2224209e9a6c@isovalent.com>
