Prometheus
Required CRDs
Section titled “Required CRDs”- PodMonitor
- ServiceMonitor
CRD Installation
Section titled “CRD Installation”prometheus-operator-crds
Section titled “prometheus-operator-crds”This Helm chart includes all the CRDs for Prometheus Operator and is the easiest way to install the required CRDs. Here are simple instructions:
helm repo add prometheus-community https://prometheus-community.github.io/helm-chartshelm repo updatehelm install prom-op-crds prometheus-community/prometheus-operator-crds
For full instructions, check the GitHub README.
To avoid installing all CRDs, use this values file:
crds: servicemonitors: enabled: true podmonitors: enabled: true
alertmanagerconfigs: enabled: false alertmanagers: enabled: false probes: enabled: false prometheusagents: enabled: false prometheuses: enabled: false prometheusrules: enabled: false scrapeconfigs: enabled: false thanosrulers: enabled: false
It can be applied like this:
helm install prom-op-crds prometheus-community/prometheus-operator-crds --values prom-op-crds.yaml
Prometheus Hosting
Section titled “Prometheus Hosting”There are a few options for managed Prometheus: