apiVersion: v1
kind: Service
metadata:
  labels:
    app.kubernetes.io/name: weave-net
  name: weave-net
  namespace: kube-system
spec:
  clusterIP: None
  ports:
  - name: weave-net-metrics
    port: 6782
    targetPort: 6782
  selector:
    name: weave-net
