fix charts README.md to give additional detail on prometheus metrics … (#7601)
* fix charts README.md to give additional detail on prometheus metrics configuration * charts readme.md remove blank line
This commit is contained in:
parent
da29c7712a
commit
f182b317ba
1 changed files with 2 additions and 1 deletions
|
@ -84,7 +84,8 @@ else it would make it impossible to evacuate a node. See [gh issue #7127](https:
|
||||||
|
|
||||||
The Nginx ingress controller can export Prometheus metrics, by setting `controller.metrics.enabled` to `true`.
|
The Nginx ingress controller can export Prometheus metrics, by setting `controller.metrics.enabled` to `true`.
|
||||||
|
|
||||||
You can add Prometheus annotations to the metrics service using `controller.metrics.service.annotations`. Alternatively, if you use the Prometheus Operator, you can enable ServiceMonitor creation using `controller.metrics.serviceMonitor.enabled`.
|
You can add Prometheus annotations to the metrics service using `controller.metrics.service.annotations`.
|
||||||
|
Alternatively, if you use the Prometheus Operator, you can enable ServiceMonitor creation using `controller.metrics.serviceMonitor.enabled`. And set `controller.metrics.serviceMonitor.additionalLabels.release="prometheus"`. "release=prometheus" should match the label configured in the prometheus servicemonitor ( see `kubectl get servicemonitor prometheus-kube-prom-prometheus -oyaml -n prometheus`)
|
||||||
|
|
||||||
### ingress-nginx nginx\_status page/stats server
|
### ingress-nginx nginx\_status page/stats server
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue