23 lines
700 B
YAML
23 lines
700 B
YAML
# 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
|