Kubernetes heapster 搭建

heapster 项目地址https://github.com/kubernetes/heapster

git clone https://github.com/kubernetes/heapster

heapster yaml 文件在deploy/kube-config/influxdb 路径下,请自行替换image路径,从hub中查找就可以

$ 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

猜你喜欢

转载自my.oschina.net/u/2277929/blog/1588852