1
0
forked from k-space/kube
kube/prometheus-operator/README.md

12 lines
475 B
Markdown
Raw Normal View History

2022-09-11 13:24:35 +00:00
# Prometheus operator
To deploy Prometheus operator:
2022-09-11 13:24:35 +00:00
```
2023-08-19 06:26:13 +00:00
curl -L https://github.com/prometheus-operator/prometheus-operator/releases/download/v0.67.1/bundle.yaml | sed -e 's/namespace: default/namespace: prometheus-operator/g' > bundle.yml
2022-09-11 13:24:35 +00:00
kubectl create namespace prometheus-operator
kubectl apply --server-side -n prometheus-operator -f bundle.yml
```
Note: Do not put any Prometheus instances or exporters in this namespace, instead have them in `monitoring` namespace