Installing Helm charts

To deploy Prometheus using Helm chart, perform the following steps:

  1. We are going to deploy our monitoring solution in a separate namespace named monitoring. Additionally, we need StorageClass defined for Prometheus data persistence. Create the prereq.yaml manifest file with the following contents:
---kind: NamespaceapiVersion: v1metadata:  name: monitoring  labels:    name: monitoring---kind: StorageClassapiVersion: storage.k8s.io/v1beta1metadata:  name: azure-diskprovisioner: kubernetes.io/azure-diskparameters:  storageaccounttype: Standard_LRS  kind: Managed
  1. Apply the manifest file using the kubectl apply -f .\prereq.yaml command.
  1. Now, we need to define values for the stable/prometheus Helm chart (https://github.com/prometheus/prometheus ...

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.