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

13 lines
299 B
Bash
Raw Normal View History

2022-12-28 23:06:22 +00:00
#!/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