rancher / rancher

Complete container management platform
http://rancher.com
Apache License 2.0
23.22k stars 2.94k forks source link

[BUG] 2.7.4 - 2.7.5- monitoring/grafana - embedded or grafana links are 404 #41897

Open lerminou opened 1 year ago

lerminou commented 1 year ago

Rancher Server Setup

Information about the Cluster

lerminou commented 1 year ago

works well with grafana 7.5.8 (and it's nginx configuration) with the same rancher stack

Delta1977 commented 1 year ago

Somethin else here: K3S v1.25.11+k3s1 with Rancher 2.7.4: URL Metrics :https://RANCHER_URL/k8s/clusters/local/api/v1/namespaces/cattle-monitoring-system/services/http:rancher-monitoring-grafana:80/ with 404 and changes to https://RANCHER_URL/api/v1/namespaces/cattle-monitoring-system/services/http:rancher-monitoring-grafana:80/proxy/?orgId=1 which works.

There is a difference between api endpoints

HectorB-2020 commented 1 year ago

I'm afraid I have to confirm that this issue is observed in Rancher 2.6.13 with Kubernetes 1.24.15. Interestingly there are other issues here about error 404 in Grafana:

erSitzt commented 7 months ago

Same here in 2.7.5, but different behaviour with different clusters.

Recent cluster with older monitoring version works v1.24.4+rke2r1 with rancher-monitoring:100.1.0+up19.0.3

new cluster with older k8s version but newer monitoring does not work v1.21.5 +rke2r1 with rancher-monitoring:102.0.2+up40.1.2