3、配置heapster
配置heapster
kubectl log heapster-74f9b447b9-4zks4 -n kube-system
安装heapster插件
mkdir heapster wget https://raw.githubusercontent.com/kubernetes/heapster/master/deploy/kube-config/influxdb/grafana.yaml wget https://raw.githubusercontent.com/kubernetes/heapster/master/deploy/kube-config/rbac/heapster-rbac.yaml wget https://raw.githubusercontent.com/kubernetes/heapster/master/deploy/kube-config/influxdb/heapster.yaml wget https://raw.githubusercontent.com/kubernetes/heapster/master/deploy/kube-config/influxdb/influxdb.yaml
#查看以上下载配置谁的中的镜像版本是否与下载时的一致,不一致时修改成本地镜像版本
kubectl create -f ./