2016-06-23 8 views
0

私はkubernetesクラスターにgrafanaとinfluxdbを使用してヒープスターをインストールしようとしました。私はグラファナのページを見ることができません、それは私だけを示しますalert.titlegrafanaがkubernetes heapsterに表示されない

私はすべてのログがうまくいっているように思っていますが、これは最後の問題です。誰かが私に何が起こっているかを見せてくれるのであれば、感謝します。ここで

のための私のログのピックです:

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 

更新: [OK]を私は値を変更しinfluxdb-grafana-controller.yamlで何かを見つけました:/ API/V1 /プロキシ/名前空間/ KUBEを-system/services/monitoring-grafana/to値:/

良い解決策だとわかりませんが、うまくいきます。

+0

これは[GH問題](https://github.com/kubernetes/heapster/issues/657)かもしれません。どのバージョンのKubernetesとHeapsterを使用していますか? – caesarxuchao

+0

こんにちは、私はこのリンク[リンク](https://github.com/kubernetes/heapster)[リンク]でkubernetes 1.2.0とヒープスターを使用して、私はGHの問題を見ていきます。 – beorn

+0

ありがとうございました!私は[github issue](https://github.com/kubernetes/heapster/issues/657)にコメントして、あなたがkubernetes v1.2で見たことから再オープンを提案しました –

答えて

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を置くこともできます。

これですべてが機能しています。

関連する問題