14 lines
503 B
Bash
Executable File
14 lines
503 B
Bash
Executable File
#!/bin/bash
|
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
|
|
|
|
helm upgrade --install kube-prom-stack prometheus-community/kube-prometheus-stack \
|
|
--namespace monitoring \
|
|
--create-namespace \
|
|
-f kube-prom-stack.yaml --wait
|
|
|
|
helm upgrade --install prometheus-adapter prometheus-community/prometheus-adapter \
|
|
--namespace monitoring \
|
|
--create-namespace \
|
|
-f "$SCRIPT_DIR/prom-adapter.yaml"
|