heapster 項目地址https://github.com/kubernetes/heapsternode
git clone https://github.com/kubernetes/heapster
heapster yaml 文件在deploy/kube-config/influxdb 路徑下,請自行替換image路徑,從hub中查找就能夠git
$ kubectl create -f deploy/kube-config/influxdb/ $ kubectl create -f deploy/kube-config/rbac/heapster-rbac.yaml
[root@node1 rbac]# kubectl cluster-info Kubernetes master is running at https://10.0.82.177:6443 Heapster is running at https://10.0.82.177:6443/api/v1/namespaces/kube-system/services/heapster/proxy KubeDNS is running at https://10.0.82.177:6443/api/v1/namespaces/kube-system/services/kube-dns/proxy monitoring-grafana is running at https://10.0.82.177:6443/api/v1/namespaces/kube-system/services/monitoring-grafana/proxy monitoring-influxdb is running at https://10.0.82.177:6443/api/v1/namespaces/kube-system/services/monitoring-influxdb/proxy