HeapSter安裝(k8s1.11以後廢棄了)
阿新 • • 發佈:2019-01-01
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讓外部訪問 #可使用瀏覽器訪問