Files
infra-monitoring/monitoring.yaml
2026-03-06 07:53:57 +00:00

38 lines
953 B
YAML

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: kube-prometheus-stack
namespace: argocd
spec:
project: default
source:
repoURL: https://prometheus-community.github.io/helm-charts
chart: kube-prometheus-stack
targetRevision: 61.3.1
helm:
values: |
grafana:
service:
type: NodePort
nodePort: 32000
grafana.ini:
server:
root_url: http://localhost:32000
prometheus:
prometheusSpec:
retention: 10d
storageSpec:
volumeClaimTemplate:
spec:
accessModes: ["ReadWriteOnce"]
resources:
requests:
storage: 10Gi
destination:
server: https://kubernetes.default.svc
namespace: monitoring
syncPolicy:
automated:
prune: true
selfHeal: true
createNamespace: true