From 04bae0f814ab588b84fa55cb5a4dca3bd62e2ee5 Mon Sep 17 00:00:00 2001 From: Roxedus Date: Mon, 6 Jun 2022 02:25:44 +0200 Subject: [PATCH] monitoring --- apps/templates/prometheus.yaml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 apps/templates/prometheus.yaml diff --git a/apps/templates/prometheus.yaml b/apps/templates/prometheus.yaml new file mode 100644 index 0000000..15347af --- /dev/null +++ b/apps/templates/prometheus.yaml @@ -0,0 +1,31 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: monitoring + namespace: argo-cd + finalizers: + - resources-finalizer.argocd.argoproj.io +spec: + destination: + server: https://kubernetes.default.svc + namespace: default + project: monitoring + source: + chart: kube-prometheus-stack + helm: + values: | + alertmanager: + enabled: false + grafana: + ingress: + enabled: true + hosts: + - stats.roxedus.com + repoURL: https://prometheus-community.github.io/helm-charts + targetRevision: 35.5.1 + syncPolicy: + automated: + prune: true + selfHeal: true + syncOptions: + - CreateNamespace=true