Deploying the new version of the voting application

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 servicedue 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:

  1. Open the PowerShell window in the root directory of the Helm chart.
  2. In the Chart.yaml file, increment appVersion ...

Get Hands-On Kubernetes on Windows now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.