...

Text file src/github.com/datawire/ambassador/v2/cmd/entrypoint/testdata/custom-endpoints.yaml

Documentation: github.com/datawire/ambassador/v2/cmd/entrypoint/testdata

     1---
     2# All the IP addresses, pod names, etc., are basically made up. These
     3# aren't meant to be functional, just to exercise the machinery of 
     4# filting things in the watcher.
     5apiVersion: v1
     6kind: Endpoints
     7metadata:
     8  name: random-1
     9subsets:
    10- addresses:
    11  - ip: 10.42.0.55
    12    nodeName: flynn-2a
    13    targetRef:
    14      kind: Pod
    15      name: random-6db467b4d7-zzzz1
    16  - ip: 10.42.0.56
    17    nodeName: flynn-2b
    18    targetRef:
    19      kind: Pod
    20      name: random-6db467b4d7-zzzz1
    21  ports:
    22  - port: 5000
    23    protocol: TCP
    24---
    25# All the IP addresses, pod names, etc., are basically made up. These
    26# aren't meant to be functional, just to exercise the machinery of 
    27# filting things in the watcher.
    28apiVersion: v1
    29kind: Endpoints
    30metadata:
    31  name: random-2
    32subsets:
    33- addresses:
    34  - ip: 10.42.0.65
    35    nodeName: flynn-2a
    36    targetRef:
    37      kind: Pod
    38      name: rande-6db467b4d7-zzzz2
    39  - ip: 10.42.0.66
    40    nodeName: flynn-2b
    41    targetRef:
    42      kind: Pod
    43      name: rande-6db467b4d7-zzzz2
    44  ports:
    45  - port: 5000
    46    protocol: TCP

View as plain text