prometheus 参考文档

https://github.com/yunlzheng/prometheus-book

https://yunlzheng.gitbook.io/prometheus-book/

使用coreos的 prometheus-operator 监控k8s集群

一 参考文档

https://github.com/coreos/kube-prometheus

git clone https://github.com/coreos/prometheus-operator.git

git clone https://github.com/coreos/kube-prometheus.git

cd kube-prometheus

吧service 改成nodeport模式

vim manifests/alertmanager-service.yaml

vim manifests/grafana-service.yaml

vim manifests/prometheus-service.yaml

启动监控

kubectl create -f manifests/setup/

kubectl create -f manifests/

results matching ""

    No results matching ""