部署监控组件
[root@master01 ~]# wget https://zhl123.com/download/k8s/heapster.tgz
[root@master01 ~]# tar xf heapster.tgz
[root@master01 ~]# kubectl create -f heapster
[root@master01 ~]# kubectl cluster-info
Kubernetes master is running at https://10.80.4.200:6443
CoreDNS is running at https://10.80.4.200:6443/api/v1/namespaces/kube-system/services/coredns:dns/proxy
kubernetes-dashboard is running at https://10.80.4.200:6443/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy
monitoring-grafana is running at https://10.80.4.200:6443/api/v1/namespaces/kube-system/services/monitoring-grafana/proxy
To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'.