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

13 lines
299 B
Bash
Executable file

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