kubeasz/docs/guide/heapster.md

826 B
Raw Blame History

heapster

部署文件

  1. grafana
  2. heapster
  3. influxdb

tips-01

如果部署完heapster检查状态均正常但是dashboard不能展示 Pod、Nodes 的 CPU、内存等 metric 图形请重启dashboard 容器 检查命令:

$ kubectl get pods -n kube-system | grep -E 'heapster|monitoring'
heapster-3273315324-tmxbg               1/1       Running   0          11m
monitoring-grafana-2255110352-94lpn     1/1       Running   0          11m
monitoring-influxdb-884893134-3vb6n     1/1       Running   0          11m

检查Pods日志

$ kubectl logs heapster-3273315324-tmxbg -n kube-system
$ kubectl logs monitoring-grafana-2255110352-94lpn -n kube-system
$ kubectl logs monitoring-influxdb-884893134-3vb6n -n kube-system