github.com/fafucoder/cilium@v1.6.11/examples/policies/getting-started/l3-l4-policy.yaml (about) 1 apiVersion: "cilium.io/v2" 2 kind: CiliumNetworkPolicy 3 metadata: 4 name: "l3-l4-rule" 5 spec: 6 endpointSelector: 7 matchLabels: 8 id: web-server 9 ingress: 10 - fromEndpoints: 11 - matchLabels: 12 id: goodclient 13 toPorts: 14 - ports: 15 - port: '8181' 16 protocol: TCP