apiVersion: v1
kind: Service
metadata:
  name: kube-state-metrics
spec:
  clusterIP: None
  selector:
    app: kube-state-metrics
  ports:
    - name: https-main
      port: 8443
      targetPort: https-main
    - name: https-self
      port: 9443
      targetPort: https-self
