monitoring cleanup

This commit is contained in:
2024-12-23 22:40:35 +01:00
parent d6faeb3e4c
commit ee20223507
21 changed files with 717 additions and 270 deletions

View File

@@ -0,0 +1,18 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: grafana-application
namespace: argocd
spec:
project: apps
source:
repoURL: ssh://git@git.kluster.moll.re:2222/remoll/k3s-infra.git
targetRevision: main
path: apps/grafana
destination:
server: https://kubernetes.default.svc
namespace: grafana
syncPolicy:
automated:
prune: true
selfHeal: true

View File

@@ -20,7 +20,7 @@ resources:
- traefik/
- external-dns/
- external-services/
- prometheus/application.yaml
- monitoring/application.yaml
- authelia/
# simple apps
@@ -35,7 +35,7 @@ resources:
- linkding/
- media/
- minecraft/application.yaml
- monitoring/
- grafana/
- ntfy/
- paperless/
- recipes/

View File

@@ -1,14 +1,15 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: monitoring-application
name: prometheus-application
namespace: argocd
spec:
project: apps
project: infrastructure
source:
repoURL: ssh://git@git.kluster.moll.re:2222/remoll/k3s-infra.git
repoURL: git@github.com:moll-re/bootstrap-k3s-infra.git
targetRevision: main
path: apps/monitoring
path: infrastructure/prometheus
destination:
server: https://kubernetes.default.svc
namespace: monitoring

View File

@@ -1,22 +0,0 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: prometheus-application
namespace: argocd
spec:
project: infrastructure
source:
repoURL: git@github.com:moll-re/bootstrap-k3s-infra.git
targetRevision: main
path: infrastructure/prometheus
destination:
server: https://kubernetes.default.svc
namespace: monitoring
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- Replace=true
# because the prom crds exceed the default 256Ki limit