Update monitoring.md (#8324)
Added missing repo on "helm upgrade" command
This commit is contained in:
parent
974d038c2a
commit
1fb0aea2c5
1 changed files with 2 additions and 1 deletions
|
@ -20,7 +20,8 @@ This tutorial will show you how to install [Prometheus](https://prometheus.io/)
|
||||||
|
|
||||||
- The easiest way to configure the controller for metrics is via helm upgrade. Assuming you have installed the ingress-nginx controller as a helm release named ingress-controller, then you can simply type the command show below :
|
- The easiest way to configure the controller for metrics is via helm upgrade. Assuming you have installed the ingress-nginx controller as a helm release named ingress-controller, then you can simply type the command show below :
|
||||||
```
|
```
|
||||||
helm upgrade ingress-controller ingress-nginx/ingress-nginx \
|
helm upgrade ingress-nginx ingress-nginx \
|
||||||
|
--repo https://kubernetes.github.io/ingress-nginx \
|
||||||
--namespace ingress-nginx \
|
--namespace ingress-nginx \
|
||||||
--set controller.metrics.enabled=true \
|
--set controller.metrics.enabled=true \
|
||||||
--set-string controller.podAnnotations."prometheus\.io/scrape"="true" \
|
--set-string controller.podAnnotations."prometheus\.io/scrape"="true" \
|
||||||
|
|
Loading…
Reference in a new issue