You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
334 B
14 lines
334 B
3 years ago
|
# 安装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/
|
||
|
```
|