mirror of
https://github.com/amkartashov/gf-k8s.git
synced 2026-01-11 09:59:43 +00:00
add monitoring app
This commit is contained in:
parent
e7c5b05204
commit
e6c904363a
2 changed files with 26 additions and 0 deletions
5
apps/system/monitoring/prometheus.yaml
Normal file
5
apps/system/monitoring/prometheus.yaml
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
apiVersion: monitoring.coreos.com/v1
|
||||||
|
kind: Prometheus
|
||||||
|
metadata:
|
||||||
|
name: prometheus
|
||||||
|
spec:
|
||||||
21
main/apps/monitoring.yaml
Normal file
21
main/apps/monitoring.yaml
Normal file
|
|
@ -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
|
||||||
Loading…
Reference in a new issue