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/arrow-up-right

  2. Ensure monitoring clusteraddon is disabled from the UI.

Procedure

INSTALLATION

  1. Follow the instructions to install HELM3arrow-up-right and Add Prometheus Helm repo and update using:

helm repo add pf9-plus https://platform9.github.io/pf9-kube-prometheus-helm-chart/
helm repo update
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "pf9-plus" chart repository
Update Complete.Happy Helming!
  1. Verify the repo list for new repo chart 38.0.4 or above is reflected in the helm search:

  1. Install the latest chart(version 38.0.4 or above):

  1. 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:

  1. Add the repo and Update the repo using:

  1. Verify the new chart version is reflected in the helm search and list:

  1. Upgrade helm chart:

  1. Verify the stack installed and pods are deployed/running.

Last updated