github.com/form3tech-oss/cilium@v1.6.3/examples/policies/kubernetes/namespace/kubedns-policy.json (about)

     1  [
     2     {
     3        "endpointSelector" : {
     4           "matchLabels" : {}
     5        },
     6        "egress" : [
     7           {
     8              "toEndpoints" : [
     9                 {
    10                    "matchLabels" : {
    11                       "k8s:io.kubernetes.pod.namespace" : "kube-system",
    12                       "k8s-app" : "kube-dns"
    13                    }
    14                 }
    15              ],
    16              "toPorts" : [
    17                 {
    18                    "ports" : [
    19                       {
    20                          "port" : "53",
    21                          "protocol" : "UDP"
    22                       }
    23                    ]
    24                 }
    25              ]
    26           }
    27        ]
    28     }
    29  ]