github.com/fafucoder/cilium@v1.6.11/examples/policies/getting-started/l3-l4-policy.json (about)

     1  [{
     2      "labels": [{"key": "name", "value": "l3-l4-rule"}],
     3      "endpointSelector": {"matchLabels":{"id":"web-server"}},
     4      "ingress": [{
     5          "fromEndpoints": [
     6              {"matchLabels":{"id":"goodclient"}}
     7          ],
     8          "toPorts": [{
     9                  "ports": [{"port": "8181", "protocol": "TCP"}]
    10          }]
    11      }]
    12  }]