--- # Source: ingress-nginx/templates/controller-service-metrics.yaml apiVersion: v1 kind: Service metadata: annotations: prometheus.io/port: "10254" prometheus.io/scrape: "true" labels: helm.sh/chart: ingress-nginx-4.10.0 app.kubernetes.io/name: ingress-nginx app.kubernetes.io/instance: ingress-nginx app.kubernetes.io/version: "1.10.0" app.kubernetes.io/part-of: ingress-nginx app.kubernetes.io/managed-by: Helm app.kubernetes.io/component: controller name: ingress-nginx-controller-metrics namespace: default spec: type: ClusterIP ports: - name: metrics port: 10254 protocol: TCP targetPort: metrics selector: app.kubernetes.io/name: ingress-nginx app.kubernetes.io/instance: ingress-nginx app.kubernetes.io/component: controller