blog/kubernetes/installation/promethues.md

14 lines
334 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 安装Prometheus监控
使用项目 [kube-prometheus](https://github.com/prometheus-operator/kube-prometheus.git)
选择版本可用的release版本。
执行命令
```bash
kubectl create -f manifests/setup
until kubectl get servicemonitors --all-namespaces ; do date; sleep 1; echo ""; done
kubectl create -f manifests/
```