apiVersion: v1
kind: Service
metadata:
  name: etcd-metrics
  namespace: kube-system
  labels:
    {{ etcd_metrics_service_labels | to_yaml(indent=2, width=1337) | indent(width=4) }}
spec:
  ports:
    - name: http-metrics
      protocol: TCP
      port: {{ etcd_metrics_port }}
      # targetPort:
