Skip to content

Commit

Permalink
Update monitoring.md (kubernetes#8324)
Browse files Browse the repository at this point in the history
Added missing repo on "helm upgrade" command
  • Loading branch information
RodrigoRVieira authored and rchshld committed May 17, 2023
1 parent 6314867 commit 1ad3c2f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/user-guide/monitoring.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 :
```
helm upgrade ingress-controller ingress-nginx/ingress-nginx \
helm upgrade ingress-nginx ingress-nginx \
--repo https://kubernetes.github.io/ingress-nginx \
--namespace ingress-nginx \
--set controller.metrics.enabled=true \
--set-string controller.podAnnotations."prometheus\.io/scrape"="true" \
Expand Down

0 comments on commit 1ad3c2f

Please sign in to comment.