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讓外部訪問 #可使用瀏覽器訪問