longhorn / longhorn

Cloud-Native distributed storage built on and for Kubernetes
https://longhorn.io
Apache License 2.0
5.98k stars 590 forks source link

[IMPROVEMENT] Serve Prometheus metrics over HTTPS #9388

Open mlec1 opened 2 weeks ago

mlec1 commented 2 weeks ago

Is your improvement request related to a feature? Please describe (👍 if you like this request)

Serve Prometheus metrics over HTTPS

Describe the solution you'd like

I don't really know the best way to do it. I know that the cert-manager is creating using a certificate created by a CA, that is copied into a Pod or Service Monitor (See: https://cert-manager.io/docs/devops-tips/prometheus-metrics/#tls).

I am just starting with Prometheus, and don't know and didn't find a recommended way to serve metrics over HTTPS, you may have other ways to implement it.

Describe alternatives you've considered

Didn't find anything, unfortunately.

Additional context

mlec1 commented 2 weeks ago

Feel free to relabel it if it is more a feature request than an improvement.