From 594180e4acbe68a0d9c83cef7642b256b55505c6 Mon Sep 17 00:00:00 2001 From: Jay Phillips Date: Fri, 12 Jun 2026 18:03:34 +0000 Subject: [PATCH] Add monitoring stack --- apps/monitoring/prometheus-stack.yaml | 40 +++++++++++++++++++++++++++ uptime-kuma-argocd-app.yaml | 20 ++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 apps/monitoring/prometheus-stack.yaml create mode 100644 uptime-kuma-argocd-app.yaml diff --git a/apps/monitoring/prometheus-stack.yaml b/apps/monitoring/prometheus-stack.yaml new file mode 100644 index 0000000..410b19d --- /dev/null +++ b/apps/monitoring/prometheus-stack.yaml @@ -0,0 +1,40 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: monitoring + namespace: argocd +spec: + project: default + + source: + repoURL: https://prometheus-community.github.io/helm-charts + chart: kube-prometheus-stack + targetRevision: 77.* + + helm: + values: | + grafana: + ingress: + enabled: true + ingressClassName: nginx + hosts: + - grafana.home.lan + + prometheus: + ingress: + enabled: true + ingressClassName: nginx + hosts: + - prometheus.home.lan + + destination: + server: https://kubernetes.default.svc + namespace: monitoring + + syncPolicy: + automated: + prune: true + selfHeal: true + + syncOptions: + - CreateNamespace=true diff --git a/uptime-kuma-argocd-app.yaml b/uptime-kuma-argocd-app.yaml new file mode 100644 index 0000000..9d43f20 --- /dev/null +++ b/uptime-kuma-argocd-app.yaml @@ -0,0 +1,20 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: uptime-kuma + namespace: argocd +spec: + project: default + source: + repoURL: http://git.home.lan/jay/k8s-gitops.git + targetRevision: main + path: apps/uptime-kuma + destination: + server: https://kubernetes.default.svc + namespace: uptime-kuma + syncPolicy: + automated: + prune: true + selfHeal: true + syncOptions: + - CreateNamespace=true