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让外部访问 #可使用浏览器访问
所有评论(0)