apiVersion: v1
kind: Service
metadata:
  labels:
    app.kubernetes.io/name: ingress-nginx
  name: ingress-nginx-metrics
  namespace: default
spec:
  clusterIP: None
  ports:
  - name: prometheus
    port: 10254
    targetPort: 10254
  selector:
    app.kubernetes.io/name: ingress-nginx
