Added monitoring configurations for app-of-apps and prometheus

This commit is contained in:
Jim Martens 2023-11-08 09:35:43 +01:00
parent 04d9432a46
commit fb87d34c96
12 changed files with 109 additions and 0 deletions

View File

@ -0,0 +1 @@
# only there for correct syntax highlighting in IDE

View File

@ -0,0 +1,5 @@
apiVersion: v2
name: app-of-apps
description: Configuration chart for ArgoCD to monitor
type: application
version: 0.1.1

View File

@ -0,0 +1 @@
../templates

View File

@ -0,0 +1,48 @@
applications:
- name: hcloud-csi
project: default
targetRevision: main
namespace: hcloud
createNamespace: false
repoURL: https://git.2martens.de/2martens/cloud-configuration.git
syncWave: 1
- name: vso-crds
project: default
targetRevision: main
namespace: hcloud
createNamespace: false
repoURL: https://git.2martens.de/2martens/cloud-configuration.git
syncWave: -1
- name: vault-secrets-operator
project: default
targetRevision: main
namespace: vault-secrets-operator-system
createNamespace: true
repoURL: https://git.2martens.de/2martens/cloud-configuration.git
syncWave: 0
- name: prometheus
project: default
targetRevision: main
namespace: observability
createNamespace: false
repoURL: https://git.2martens.de/2martens/cloud-configuration.git
serverSideApply: true
syncWave: 2
- name: prometheus-adapter
project: default
targetRevision: main
namespace: observability
createNamespace: false
repoURL: https://git.2martens.de/2martens/cloud-configuration.git
syncWave: 2
- name: thanos
project: default
targetRevision: main
namespace: thanos
createNamespace: true
repoURL: https://git.2martens.de/2martens/cloud-configuration.git
syncWave: 2
overall:
destinationServer: https://kubernetes.default.svc
environment: monitoring

View File

@ -0,0 +1 @@
../templates

View File

@ -0,0 +1,6 @@
dependencies:
- name: kube-prometheus-stack
repository: https://prometheus-community.github.io/helm-charts
version: 52.1.0
digest: sha256:d029407897f7046c7efe1b19ab9056ff5268c429a85f8fe45cfdf8db82dd78b8
generated: "2023-11-08T09:14:30.984982+01:00"

View File

@ -0,0 +1,8 @@
apiVersion: v2
name: prometheus
version: 0.1.0
type: application
dependencies:
- name: kube-prometheus-stack
version: 52.1.0
repository: https://prometheus-community.github.io/helm-charts

View File

@ -0,0 +1,37 @@
kube-prometheus-stack:
prometheusOperator:
admissionWebhooks:
certManager:
enabled: true
# issuerRef:
# name: "lets-encrypt"
# kind: "ClusterIssuer"
prometheus-node-exporter:
hostRootFsMount:
mountPropagation: None
alertmanager:
enabled: true
grafana:
enabled: true
prometheus:
prometheusSpec:
retention: 6h
disableCompaction: true
storageSpec:
volumeClaimTemplate:
spec:
storageClassName: hcloud-volumes
accessModes: [ "ReadWriteOnce" ]
resources:
requests:
storage: 10Gi
ingress:
enabled: false
kubeControllerManager:
endpoints:
- 10.0.0.4
kubeScheduler:
endpoints:
- 10.0.0.4

View File

@ -0,0 +1 @@
../templates

View File

@ -0,0 +1 @@
../values.yaml