【发布时间】:2016-06-23 13:36:58
【问题描述】:
我尝试在我的 kubernetes 集群上安装带有 grafana 和 influxdb 的 heapster。我无法看到grafana的页面,它只显示alert.title。
我认为我做的一切都是正确的,所有的日志看起来都不错,但这是最后一个问题:如果有人愿意向我展示发生了什么,我将不胜感激。
这是我的日志的一部分:
2016/06/23 13:31:23 [I] Completed 172.17.77.1 - "GET /favicon.ico HTTP/1.1" 404 Not Found 2929 bytes in 1224us
2016/06/23 13:31:30 [I] Completed 172.17.77.1 - "GET /grafana HTTP/1.1" 404 Not Found 2929 bytes in 1154us
2016/06/23 13:31:30 [I] Completed 172.17.77.1 - "GET /api/v1/proxy/namespaces/default/services/monitoring-grafana/public/app/app.ca0ab6f9.js HTTP/1.1" 404 Not Found 23 bytes in 545us
2016/06/23 13:31:30 [I] Completed 172.17.77.1 - "GET /api/v1/proxy/namespaces/default/services/monitoring-grafana/public/css/grafana.dark.min.a95b3754.css HTTP/1.1" 404 Not Found 23 bytes in 786us
2016/06/23 13:31:40 [I] Completed 172.17.77.1 - "GET /monitoring-grafana HTTP/1.1" 404 Not Found 2929 bytes in 1409us
2016/06/23 13:31:40 [I] Completed 172.17.77.1 - "GET /api/v1/proxy/namespaces/default/services/monitoring-grafana/public/app/app.ca0ab6f9.js HTTP/1.1" 404 Not Found 23 bytes in 879us
2016/06/23 13:31:40 [I] Completed 172.17.77.1 - "GET /api/v1/proxy/namespaces/default/services/monitoring-grafana/public/css/grafana.dark.min.a95b3754.css HTTP/1.1" 404 Not Found 23 bytes in 1349us
2016/06/23 13:31:46 [I] Completed 172.17.77.1 - "GET /api/v1/proxy/namespaces/default/services/monitoring-grafana/public/app/app.ca0ab6f9.js HTTP/1.1" 404 Not Found 23 bytes in 837us
2016/06/23 13:31:46 [I] Completed 172.17.77.1 - "GET /api/v1/proxy/namespaces/default/services/monitoring-grafana/public/css/grafana.dark.min.a95b3754.css HTTP/1.1" 404 Not Found 23 bytes in 1181us
更新: 好的,我在 influxdb-grafana-controller.yaml 中找到了一些东西,我将值:/api/v1/proxy/namespaces/kube-system/services/monitoring-grafana/ 更改为值:/
我不知道这是否是一个好的解决方案,但它正在工作。
【问题讨论】:
-
可能是这个GH issue。您使用的是哪个版本的 Kubernetes 和 Heapster?
-
你好,我用的是kubernetes 1.2.0和这个链接link[link]里的heapster,我去看看GH问题。
-
感谢您的更新!我评论了github issue 建议重新打开它,因为您已经在 kubernetes v1.2 中看到它
标签: kubernetes grafana heapster