apiVersion: v1
kind: Service
metadata:
  annotations:
    prometheus.io/scrape: 'true'
  labels:
    app: kube-state-metrics
  name: kube-state-metrics
spec:
  ports:
  - name: metrics 
    port: 8080
    targetPort: metrics
    protocol: TCP
  selector:
    app: kube-state-metrics

