Ich habe installiert Docker V17.06-CE auf 2 Minion Knoten plus einen Master-Knoten und Kubernetes mit Kubeadm v1.7.0. Dann habe ich Web-UI (Dashboard) mit kubectl create -f https://git.io/kube-dashboard
bereitgestellt und den Typ in NodePort mit kubectl edit service kubernetes-dashboard -n kube-system
geändert.Kubernetes Web-UI (Dashboard) zeigt keine Graphen
Ich kann darauf zugreifen, aber seine fehlenden CPU/Speicherverbrauch Grafiken. Also ich habe die Anweisungen von Kuberenets Web UI (Dashboard) missing graphs zu implementieren, hapster und influxdb, aber ich kann immer noch nicht die Graps ...
Was ist los?
UPDATE: Kontrolle Protokolle kubectl logs heapster-2994581613-m28hh --namespace=kube-system
Ich habe diese Fehler immer wieder gefunden:
E0717 09:14:05.000881 7 kubelet.go:271] No nodes received from APIserver.
E0717 09:14:05.947260 7 reflector.go:203] k8s.io/heapster/metrics/processors/node_autoscaling_enricher.go:100: Failed to list *api.Node: the server does not allow access to the requested resource (get nodes)
E0717 09:14:05.959150 7 reflector.go:203] k8s.io/heapster/metrics/heapster.go:319: Failed to list *api.Pod: the server does not allow access to the requested resource (get pods)
E0717 09:14:05.959254 7 reflector.go:203] k8s.io/heapster/metrics/heapster.go:327: Failed to list *api.Node: the server does not allow access to the requested resource (get nodes)
E0717 09:14:05.959888 7 reflector.go:203] k8s.io/heapster/metrics/sources/kubelet/kubelet.go:342: Failed to list *api.Node: the server does not allow access to the requested resource (get nodes)
E0717 09:14:05.959995 7 reflector.go:203] k8s.io/heapster/metrics/processors/namespace_based_enricher.go:84: Failed to list *api.Namespace: the server does not allow access to the requested resource (get namespaces)
E0717 09:14:06.957399 7 reflector.go:203] k8s.io/heapster/metrics/processors/node_autoscaling_enricher.go:100: Failed to list *api.Node: the server does not allow access to the requested resource (get nodes)
E0717 09:14:06.965155 7 reflector.go:203] k8s.io/heapster/metrics/sources/kubelet/kubelet.go:342: Failed to list *api.Node: the server does not allow access to the requested resource (get nodes)
E0717 09:14:06.965166 7 reflector.go:203] k8s.io/heapster/metrics/heapster.go:327: Failed to list *api.Node: the server does not allow access to the requested resource (get nodes)
E0717 09:14:06.966403 7 reflector.go:203] k8s.io/heapster/metrics/heapster.go:319: Failed to list *api.Pod: the server does not allow access to the requested resource (get pods)
E0717 09:14:06.966964 7 reflector.go:203] k8s.io/heapster/metrics/processors/namespace_based_enricher.go:84: Failed to list *api.Namespace: the server does not allow access to the requested resource (get namespaces)
Jede Idee?
oder Sie können Helm auch verwenden, um den Heapster zu installieren. – sfgroups
Ich habe es versucht, aber die Diagramme fehlen noch. Wie ich denke, brauche ich auch einen Influxdb-Dienst. Welches ist, dass ich sagte, dass ich mit diesem Link info https://stackoverflow.com/questions/41832273/kuberenets-web-ui-dashboard-missing-graphs ohne Erfolg gefolgt hatte ... Irgendeine Idee? – dpatino
Sie protokollieren Nachricht sagt Zugriff fehlt, versuchen Sie, den hepester rbac auch zu erstellen, Kommentar in der Post hinzugefügt. – sfgroups