Add kube-prometheus-stack application
This commit is contained in:
parent
014699b7f2
commit
df598cac46
85
applications/templates/kube-prometheus-stack.yaml
Normal file
85
applications/templates/kube-prometheus-stack.yaml
Normal file
@ -0,0 +1,85 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: ceph
|
||||
labels:
|
||||
pod-security.kubernetes.io/enforce: privileged
|
||||
---
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: kube-prometheus-stack
|
||||
namespace: monitoring
|
||||
spec:
|
||||
project: default
|
||||
destination:
|
||||
server: {{ .Values.spec.destination.server }}
|
||||
namespace: ceph
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
source:
|
||||
chart: rook-ceph
|
||||
repoURL: https://charts.rook.io/release
|
||||
targetRevision: 1.17.1
|
||||
helm:
|
||||
valuesObject:
|
||||
crds:
|
||||
enabled: true
|
||||
defaultRules:
|
||||
create: false
|
||||
windowsMonitoring:
|
||||
enabled: false
|
||||
alertmanager:
|
||||
enabled: false
|
||||
grafana:
|
||||
enabled: true
|
||||
kubeProxy:
|
||||
enabled: false
|
||||
kubeEtcd:
|
||||
enabled: false
|
||||
kubeControllerManager:
|
||||
enabled: false
|
||||
nodeExporter:
|
||||
enabled: true
|
||||
prometheusOperator:
|
||||
networkPolicy:
|
||||
enabled: true
|
||||
flavor: cilium
|
||||
logFormat: json
|
||||
prometheus:
|
||||
networkPolicy:
|
||||
enabled: true
|
||||
flavor: cilium
|
||||
cilium: {}
|
||||
ingress:
|
||||
enabled: true
|
||||
annotations:
|
||||
traefik.ingress.kubernetes.io/router.entrypoints: web
|
||||
hosts:
|
||||
- prometheus.noxxos.nl
|
||||
serviceMonitor:
|
||||
selfMonitor: false
|
||||
prometheusSpec:
|
||||
scrapeInterval: 30s
|
||||
retention: 5y
|
||||
replicas: 1
|
||||
logLevel: debug
|
||||
logFormat: json
|
||||
scrapeConfigSelectorNilUsesHelmValues: false
|
||||
resources:
|
||||
requests:
|
||||
cpu: 150m
|
||||
memory: 700Mi
|
||||
limits:
|
||||
memory: 900Mi
|
||||
storageSpec:
|
||||
volumeClaimTemplate:
|
||||
spec:
|
||||
storageClassName: rbd-slow
|
||||
accessModes: ["ReadWriteOnce"]
|
||||
resources:
|
||||
requests:
|
||||
storage: 100Gi
|
||||
|
||||
Loading…
Reference in New Issue
Block a user