diff --git a/docs/operation/cluster_and_service_configuration.rst b/docs/operation/cluster_and_service_configuration.rst index 7247ea1977..474cb46078 100644 --- a/docs/operation/cluster_and_service_configuration.rst +++ b/docs/operation/cluster_and_service_configuration.rst @@ -379,6 +379,7 @@ In order to add Alert rules, a new ``PrometheusRule`` manifest must be created. labels: app: prometheus-operator app.kubernetes.io/name: prometheus-operator + release: prometheus-operator name: namespace: spec: @@ -394,6 +395,11 @@ In order to add Alert rules, a new ``PrometheusRule`` manifest must be created. labels: severity: warning +.. note:: + + All the labels in the example above are mandatory for Prometheus + to take the new rules into account. + Then this manifest must be applied. .. code-block:: shell