2022-09-11 13:24:35 +00:00
|
|
|
# Prometheus operator
|
|
|
|
|
2023-08-19 06:13:59 +00:00
|
|
|
To deploy Prometheus operator:
|
|
|
|
|
2022-09-11 13:24:35 +00:00
|
|
|
```
|
2022-12-21 12:08:23 +00:00
|
|
|
curl -L https://github.com/prometheus-operator/prometheus-operator/releases/download/v0.61.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
|
|
|
|
```
|
|
|
|
|
2023-08-19 06:13:59 +00:00
|
|
|
Note: Do not put any Prometheus instances or exporters in this namespace, instead have them in `monitoring` namespace
|