Skip to content

Prometheus

  • PodMonitor
  • ServiceMonitor

This Helm chart includes all the CRDs for Prometheus Operator and is the easiest way to install the required CRDs. Here are simple instructions:

Terminal window
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm repo update
helm 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:

Terminal window
helm install prom-op-crds prometheus-community/prometheus-operator-crds --values prom-op-crds.yaml

There are a few options for managed Prometheus: