feat(bee): add monitoring-ops: prometheus & alertmanager
This commit is contained in:
parent
c8a3f251bf
commit
4423c54b00
1 changed files with 83 additions and 0 deletions
83
clusters/bee/argocd-apps/monitoring-ops.yaml
Normal file
83
clusters/bee/argocd-apps/monitoring-ops.yaml
Normal file
|
|
@ -0,0 +1,83 @@
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: monitoring-ops
|
||||||
|
namespace: argocd
|
||||||
|
finalizers:
|
||||||
|
- resources-finalizer.argocd.argoproj.io
|
||||||
|
spec:
|
||||||
|
destination:
|
||||||
|
namespace: monitoring-ops
|
||||||
|
server: https://kubernetes.default.svc
|
||||||
|
project: default
|
||||||
|
source:
|
||||||
|
repoURL: https://prometheus-community.github.io/helm-charts
|
||||||
|
chart: kube-prometheus-stack
|
||||||
|
targetRevision: "44.3.1"
|
||||||
|
helm:
|
||||||
|
releaseName: monitoring-ops
|
||||||
|
values: |
|
||||||
|
fullnameOverride: ops
|
||||||
|
|
||||||
|
defaultRules:
|
||||||
|
create: false
|
||||||
|
|
||||||
|
prometheus:
|
||||||
|
podDisruptionBudget:
|
||||||
|
enabled: true
|
||||||
|
minAvailable: 1
|
||||||
|
maxUnavailable: ""
|
||||||
|
|
||||||
|
prometheusSpec:
|
||||||
|
logFormat: json
|
||||||
|
retention: 5d
|
||||||
|
replicas: 3
|
||||||
|
|
||||||
|
storageSpec:
|
||||||
|
volumeClaimTemplate:
|
||||||
|
spec:
|
||||||
|
storageClassName: hcloud-volumes
|
||||||
|
accessModes: ["ReadWriteOnce"]
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 50Gi
|
||||||
|
selector: {}
|
||||||
|
|
||||||
|
alertmanager:
|
||||||
|
podDisruptionBudget:
|
||||||
|
enabled: true
|
||||||
|
minAvailable: 1
|
||||||
|
maxUnavailable: ""
|
||||||
|
|
||||||
|
alertmanagerSpec:
|
||||||
|
logFormat: json
|
||||||
|
replicas: 3
|
||||||
|
|
||||||
|
retention: 168h
|
||||||
|
|
||||||
|
storage:
|
||||||
|
volumeClaimTemplate:
|
||||||
|
spec:
|
||||||
|
storageClassName: hcloud-volumes
|
||||||
|
accessModes: ["ReadWriteOnce"]
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 50Gi
|
||||||
|
selector: {}
|
||||||
|
|
||||||
|
grafana:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
|
kubeStateMetrics:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
|
nodeExporter:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: true
|
||||||
|
selfHeal: true
|
||||||
|
|
||||||
|
syncOptions:
|
||||||
|
- CreateNamespace=true
|
||||||
Reference in a new issue