You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

904 B

https://github.com/prometheus-community/helm-charts/tree/main/charts/kube-prometheus-stack

GENERATE SECRET

kubectl create secret generic kps-admin-users --from-file auth --namespace=monitoring

ADD HELM REPO

helm repo add prometheus-community https://prometheus-community.github.io/helm-charts

HELM INSTALL

helm install kube-prometheus-stack --namespace monitoring --values values.yaml prometheus-community/kube-prometheus-stack

HELM UPGRADE

helm diff upgrade kube-prometheus-stack prometheus-community/kube-prometheus-stack --namespace monitoring --values values.yaml | grep "has changed"

helm diff upgrade kube-prometheus-stack prometheus-community/kube-prometheus-stack --namespace monitoring --values values.yaml

SECRET

kubectl create secret generic additional-scrape-configs --from-file=prometheus-additional.yaml --dry-run=client -o yaml > additional-scrape-configs.yaml