From e6c904363a49ce88b9baaa24a49c54f94a061504 Mon Sep 17 00:00:00 2001 From: Andrey Kartashov Date: Mon, 18 Nov 2019 14:36:51 +0700 Subject: [PATCH] add monitoring app --- apps/system/monitoring/prometheus.yaml | 5 +++++ main/apps/monitoring.yaml | 21 +++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 apps/system/monitoring/prometheus.yaml create mode 100644 main/apps/monitoring.yaml diff --git a/apps/system/monitoring/prometheus.yaml b/apps/system/monitoring/prometheus.yaml new file mode 100644 index 0000000..f65d867 --- /dev/null +++ b/apps/system/monitoring/prometheus.yaml @@ -0,0 +1,5 @@ +apiVersion: monitoring.coreos.com/v1 +kind: Prometheus +metadata: + name: prometheus +spec: diff --git a/main/apps/monitoring.yaml b/main/apps/monitoring.yaml new file mode 100644 index 0000000..5f5c497 --- /dev/null +++ b/main/apps/monitoring.yaml @@ -0,0 +1,21 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: monitoring + namespace: argocd + finalizers: + - resources-finalizer.argocd.argoproj.io +spec: + destination: + namespace: monitoring + server: https://kubernetes.default.svc + project: default + source: + path: apps/system/monitoring + directory: + recurse: true + repoURL: git@github.com:gorilych/gf-k8s + syncPolicy: + automated: + prune: true + selfHeal: true