k8s/helm/setup/006-prometheus/install.sh

13 lines
310 B
Bash
Executable file

#!/bin/bash
CHART_VERSION=43.2.1
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm repo update
helm upgrade --install \
prometheus \
prometheus-community/kube-prometheus-stack \
-n prometheus \
--version ${CHART_VERSION} \
--create-namespace \
--cleanup-on-fail