lensapp / lens

Lens - The way the world runs Kubernetes
https://k8slens.dev/
MIT License
22.48k stars 1.46k forks source link

Allow Https for Metrics #4264

Open guidoffm opened 2 years ago

guidoffm commented 2 years ago

Cluster -> Settings -> Metrics

You can choose "Prometheus Operator".

Next you can specify "PROMETHEUS SERVICE ADDRESS".

There is no way to specify that HTTPS protocol should be used instead of HTTP.

Furthermore, for HTTPS, there should be an option to not validate the certificate.

gatti2602 commented 2 years ago

Is there any update on this issue?

I've not been able to connect HTTPS prometheus endpoint either (which is a pretty normal expectation while hosting prometheus on a cloud service)

martafolf commented 2 years ago

It looks like this is still an issue.

Is there any update?

martafolf commented 1 year ago

A year has passed, any updates? Maybe @miskun knows?

agianni commented 7 months ago

Is there a fix or workaround for this use case? Been running Lens with no Metrics for over a year and it driving me mad. I just opened a case with Len's support hoping they can help.

martafolf commented 7 months ago

I was using it with OpenShift and tried several workarounds like having a pod that acted as a reverse proxy to expose over http etc, none of it seemed to make Lens happy at the time, so I just gave up and stopped using it as a client. 😞

If you do find a workaround.. let us all know, we’d likely all appreciate it, but as it currently stands I wasted several hours on the issue and could not get it to work happily, and with seemingly no interest to actually fix this issue anytime soon.. I just moved on to other clients.

It sucks, Lens is overall quite a nice client outside of this issue!