First, Introduction
Heapster is a cluster-wide monitoring and event data aggregator. It natively supports kubernetes and can be run on all kubernetes settings. Heapster is run as a cluster in a group, similar to how any other kubernetes application runs.
InfluxDB is an open source database written in go that is designed to handle time-series data with high availability and high performance requirements. It exposes an easy-to-use API to write and get time series data. The Heapster is set to use INFLUXDB as the storage backend by default on most kubernetes clusters.
Grafana is the data visualization component in our monitoring settings. It is available in the Kubernetes cluster. The default dashboard displays the resource usage of the cluster and its internal panes. This dashboard can be easily customized and extended.
Official Githubkubernetes 1.8.3
heapster-amd64:v1.4.2influxdb-amd64:v1.3.3grafana-amd64:v4.4.3 Second, deploymentthe deployment only needs to download 4 files and create them on it. Of course, if you have a mirror.
$?kubectl?create?-f?deploy/kube-config/influxdb/$?kubectl?create?-f?deploy/kube-config/rbac/heapster-rbac.yaml
Wait a moment after running login dashboard
CPU and memory display represent the success of Heapster operationThird, GrafanaURLs can be queried by Kubectl Cluster-info
[[email protected]?~]#?kubectl?cluster-info?] Kubernetes?master?is?running?at?https://192.168.1.121:6443dnsmasq?is?running?at?https://192.168.1.121:6443/api /v1/namespaces/kube-system/services/dnsmasq/proxyheapster?is?running?at?https://192.168.1.121:6443/api/v1/ namespaces/kube-system/services/heapster/proxykubedns?is?running?at?https://192.168.1.121:6443/api/v1/ namespaces/kube-system/services/kube-dns/proxykubernetes-dashboard?is?running?at?https://192.168.1.121:6443/ api/v1/namespaces/kube-system/services/kubernetes-dashboard/proxymonitoring-grafana?is?running?at?https:// 192.168.1.121:6443/api/v1/namespaces/kube-system/services/monitoring-grafana/proxymonitoring-influxdb?is? Running?at?https://192.168.1.121:6443/api/v1/namespaces/kube-system/services/monitoring-influxdb/proxyto? Further?debug?and?diagnose?cluster?problems,?use? ' Kubectl?cluster-info?dump '.
https://192.168.1.121:6443/api/v1/proxy/namespaces/kube-system/services/monitoring-grafana/
Kubernetes Addons Heapster