apiVersion: v1 kind: Endpoints metadata: name: example-endpoints namespace: demo labels: name: example-endpoints app: demo type: endpoints subsets: - addresses: - ip: 192.0.2.42 ports: - port: 9376