Support for listen-metrics-urls configuration #1012
Labels
area/monitoring
Monitoring (including availability monitoring and alerting) related
kind/enhancement
Enhancement, improvement, extension
/area monitoring
/kind enhancement
What would you like to be added: We would like to have the ability to pass down the
listen-metrics-urls
option to etcd. Maybe through an additional field in.spec.listenMetricsURLs
in the Etcd CR? There is already the.spec.metrics
field to set the metrics level of etcd.Why is this needed: Currently metrics are served on the client port. If TLS / authentication is enabled for the client port, a client certificate is required to scrape metrics. This means that an (external) monitoring system is effectively granted full database access as well (with all its potential k8s secrets etc.). The ability to enable the dedicated metrics port would allow users to improve security by reducing the blast radius of a compromised monitoring system.
We would be willing to provide a PR if this feature would be welcome.
The text was updated successfully, but these errors were encountered: