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

  1. Downloaded helm repo for the new kube-prometheus-stack from: https://platform9.github.io/pf9-kube-prometheus-helm-chart/
  2. Ensure monitoring clusteraddon is disabled from the UI.

Procedure

INSTALLATION

  1. Follow the instructions to install HELM3 and Add Prometheus Helm repo and update using:
Add helm repo
Copy
  1. Verify the repo list for new repo chart 38.0.4 or above is reflected in the helm search:
Verify repo - Sample pf9-plus
Copy
  1. Install the latest chart(version 38.0.4 or above):
Install helm - Sample chart testmon
Copy
  1. Verify the stack installed, make sure the components are deployed/running.
Verify prometheus stack- Sample testmon
Copy

UPGRADE

If the Prometheus stack is already installed using helm, upgrade with the chart version using below steps:

  1. Download the new repo from: https://platform9.github.io/pf9-kube-prometheus-helm-chart/
  2. Add the repo and Update the repo using:
Sample-Update repo
Copy
  1. Verify the new chart version is reflected in the helm search and list:
Verify and list repo - Sample pf9-plus
Copy
  1. Upgrade helm chart:
Upgrade helm - Sample chart testmon
Copy
  1. Verify the stack installed and pods are deployed/running.
Verify prometheus stack- Sample testmon
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard