参考部署:
1.prometheus-operator: https://github.com/coreos/prometheus-operator
2.kube-prometheus:https://github.com/coreos/kube-prometheus
下载安装文件: git clone -b release-0.5 --single-branch https://github.com/coreos/kube-prometheus.git
安装operator:
cd manifests/setup && kubectl creater -f
安装prometheus
cd .. && kubectl create -f .