We have to modify the Helm chart in a similar way as we did in the last section. The Docker image has to be updated and new scraping port registered in annotations for the service—due to Prometheus not supporting multiple ports in a single scraping job (https://github.com/prometheus/prometheus/issues/3756), we need to add a second job which will use the new port. You can find the ready Helm chart at: https://github.com/PacktPublishing/Hands-On-Kubernetes-on-Windows/tree/master/Chapter14/09_voting-application-prometheus-net-helm or follow these steps using the previous version:
- Open the PowerShell window in the root directory of the Helm chart.
- In the Chart.yaml file, increment appVersion ...