forked from k-space/kube
12 lines
475 B
Markdown
12 lines
475 B
Markdown
# Prometheus operator
|
|
|
|
To deploy Prometheus operator:
|
|
|
|
```
|
|
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
|
|
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
|