首页 文章

grafana没有在kubernetes heapster中展示

提问于
浏览
0

我试图在我的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 / to value:/

我不知道这是一个很好的解决方案,但它的工作正常 .

1 回答

  • 0

    好的,我找到了解决方案,我的群集存在缺陷 . 我不得不在主人身上安装法兰绒 . 使用选项--iface = eth1因为流浪汉 .

    我按照这个指南http://severalnines.com/blog/installing-kubernetes-cluster-minions-centos7-manage-pods-services,但他们没有说要在主人身上安装法兰绒 .

    您可以从Influxdb-grafana-controller.yaml中删除NodePort,也可以输入值:api / v1 / proxy / namespaces / kube-system / services / monitoring-grafana / back .

    现在一切正常 .

相关问题