github.com/cilium/cilium@v1.16.2/test/k8s/manifests/lrp-svc.yaml (about)

     1  apiVersion: "cilium.io/v2"
     2  kind: CiliumLocalRedirectPolicy
     3  metadata:
     4    name: "lrp-svc"
     5  spec:
     6    redirectFrontend:
     7      serviceMatcher:
     8        serviceName: lrp-demo-service
     9        namespace: default
    10        toPorts:
    11          - name: http
    12            port: "80"
    13            protocol: TCP
    14          - name: tftp
    15            port: "69"
    16            protocol: UDP
    17    redirectBackend:
    18      localEndpointSelector:
    19        matchLabels:
    20          role: backend
    21      toPorts:
    22        - name: http
    23          port: "80"
    24          protocol: TCP
    25        - name: tftp
    26          port: "69"
    27          protocol: UDP