Files
Deploy-Laboratory/ansible/files/05-05/kube-prometheus-stack-values.example.yaml
2026-03-29 09:08:01 +08:00

23 lines
700 B
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Helm values for prometheus-community/kube-prometheus-stack
# 用法(仓库根):
# helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
# helm repo update
# kubectl create namespace monitoring --dry-run=client -o yaml | kubectl apply -f -
# helm upgrade --install monitoring prometheus-community/kube-prometheus-stack -n monitoring \
# -f ansible/files/05-05/kube-prometheus-stack-values.example.yaml
#
# 注意:本文件是 Helm values不要用 kubectl apply。
prometheus:
prometheusSpec:
retention: 7d
resources:
requests:
cpu: 100m
memory: 256Mi
grafana:
enabled: true
persistence:
enabled: false