To deploy Prometheus using Helm chart, perform the following steps:
- 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
- Apply the manifest file using the kubectl apply -f .\prereq.yaml command.
- Now, we need to define values for the stable/prometheus Helm chart (https://github.com/prometheus/prometheus ...