--- apiVersion: v1 kind: Service metadata: name: hello spec: selector: service: hello ports: - port: 80 targetPort: http-api --- # All the IP addresses, pod names, etc., are basically made up. These # aren't meant to be functional, just to exercise the machinery of # filting things in the watcher. apiVersion: v1 kind: Endpoints metadata: name: hello subsets: - addresses: - ip: 10.42.0.15 nodeName: flynn-2a targetRef: kind: Pod name: hello-6db467b4d7-n45n7 - ip: 10.42.0.16 nodeName: flynn-2b targetRef: kind: Pod name: hello-6db467b4d7-n45n7 ports: - port: 5000 protocol: TCP