How To Install/Upgrade Prometheus Stack Using Helm Chart.
Problem
Since the customisation of promethues alert rules are not possible in prometheus stack deployed via clusteraddon, we are recommending promethues stack installation using Helm chart where user level customisations are possible.
Environment
Platform9 Managed Kubernetes - v5.5 and Higher
Prometheus stack without ClusterAddons
Pre-requisites
Downloaded helm repo for the new kube-prometheus-stack from: https://platform9.github.io/pf9-kube-prometheus-helm-chart/
Ensure monitoring clusteraddon is disabled from the UI.
Procedure
INSTALLATION
Follow the instructions to install HELM3 and Add Prometheus Helm repo and update using:
Verify the repo list for new repo chart 38.0.4 or above is reflected in the helm search:
Install the latest chart(version 38.0.4 or above):
Verify the stack installed, make sure the components are deployed/running.
UPGRADE
If the Prometheus stack is already installed using helm, upgrade with the chart version using below steps:
Download the new repo from: https://platform9.github.io/pf9-kube-prometheus-helm-chart/
Add the repo and Update the repo using:
Verify the new chart version is reflected in the helm search and list:
Upgrade helm chart:
Verify the stack installed and pods are deployed/running.
