HeapSter安装(k8s1.12以后废弃了)


HeapSter
InfluxDB(持久存储) 
Grafana 展示InfluxDB的数据(类似kibana)

#安装InfluxDB
#github
https://github.com/kubernetes-retired/heapster

#下载文件
wget https://raw.githubusercontent.com/kubernetes-retired/heapster/master/deploy/kube-config/influxdb/influxdb.yaml
#导入
kubectl  apply -f  influxdb.yaml 


#部署HeapSter
#下载HeapSter的yaml文件
wget https://raw.githubusercontent.com/kubernetes-retired/heapster/master/deploy/kube-config/rbac/heapster-rbac.yaml
wget https://raw.githubusercontent.com/kubernetes-retired/heapster/master/deploy/kube-config/influxdb/heapster.yaml

#导入


#部署Grafana

#下载yaml
wget https://raw.githubusercontent.com/kubernetes-retired/heapster/master/deploy/kube-config/influxdb/grafana.yaml

#导入
kubectl apply -f  grafana.yaml

#给svc打补丁
将grafana的svc类型定义为NodePort让外部访问


#可使用浏览器访问

  


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM