github.com/looshlee/cilium@v1.6.12/examples/mesos/allfiles/l7-policy.json (about)

     1  [{
     2      "endpointSelector": {"matchLabels":{"id":"web-server"}},
     3      "ingress": [{
     4          "fromEndpoints": [
     5              {"matchLabels":{"id":"goodclient"}}
     6          ],
     7          "toPorts": [{
     8              "ports": [{"port": "8181", "protocol": "tcp"}],
     9              "rules": {
    10                  "HTTP": [{
    11                      "method": "GET",
    12                      "path": "/public"
    13                  }]
    14              }
    15          }]
    16      }]
    17  }]