...

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

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

     1---
     2apiVersion: v1
     3kind: Service
     4metadata:
     5  name: hello
     6spec:
     7  selector:
     8    service: hello
     9  ports:
    10    - port: 80
    11      targetPort: http-api
    12---
    13# All the IP addresses, pod names, etc., are basically made up. These
    14# aren't meant to be functional, just to exercise the machinery of 
    15# filting things in the watcher.
    16apiVersion: v1
    17kind: Endpoints
    18metadata:
    19  name: hello
    20subsets:
    21- addresses:
    22  - ip: 10.42.0.15
    23    nodeName: flynn-2a
    24    targetRef:
    25      kind: Pod
    26      name: hello-6db467b4d7-n45n7
    27  - ip: 10.42.0.16
    28    nodeName: flynn-2b
    29    targetRef:
    30      kind: Pod
    31      name: hello-6db467b4d7-n45n7
    32  ports:
    33  - port: 5000
    34    protocol: TCP

View as plain text