apiVersion: v1
kind: Endpoints
metadata:
  name: service
  namespace: testing
subsets:
- addresses:
  - ip: 10.10.0.1
  - ip: 10.10.0.2
  ports:
  - name: cheddar
    port: 8080
- addresses:
  - ip: 10.20.0.1
  - ip: 10.20.0.2
  ports:
  - name: stilton
    port: 8081
