github.com/zhyoulun/cilium@v1.6.12/test/k8sT/manifests/netperf-policy.yaml (about) 1 apiVersion: "cilium.io/v2" 2 kind: CiliumNetworkPolicy 3 description: "netperf-policy" 4 metadata: 5 name: "netperf-policy" 6 spec: 7 endpointSelector: 8 matchLabels: 9 id: netperf-server 10 ingress: 11 - fromEndpoints: 12 - matchLabels: 13 id: netperf-client 14 toPorts: 15 - ports: 16 - port: "12865" 17 protocol: TCP