Add Kubernetes monitoring
This commit is contained in:
parent
e42bda91b0
commit
dec37388b8
@ -162,6 +162,37 @@ spec:
|
|||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
---
|
---
|
||||||
|
# https://github.com/dotdc/grafana-dashboards-kubernetes/blob/master/argocd-app.yml
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: grafana-dashboards-kubernetes
|
||||||
|
namespace: argo
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: grafana-dashboards-kubernetes
|
||||||
|
app.kubernetes.io/version: HEAD
|
||||||
|
app.kubernetes.io/managed-by: argocd
|
||||||
|
finalizers:
|
||||||
|
- resources-finalizer.argocd.argoproj.io
|
||||||
|
spec:
|
||||||
|
project: default # You may need to change this!
|
||||||
|
source:
|
||||||
|
path: ./
|
||||||
|
repoURL: https://github.com/dotdc/grafana-dashboards-kubernetes
|
||||||
|
targetRevision: HEAD
|
||||||
|
|
||||||
|
destination:
|
||||||
|
server: https://kubernetes.default.svc
|
||||||
|
namespace: monitoring
|
||||||
|
syncPolicy:
|
||||||
|
## https://argo-cd.readthedocs.io/en/stable/user-guide/auto_sync
|
||||||
|
automated:
|
||||||
|
prune: true
|
||||||
|
selfHeal: true
|
||||||
|
syncOptions:
|
||||||
|
- CreateNamespace=true
|
||||||
|
- Replace=true
|
||||||
|
---
|
||||||
# TODO - use Jsonnet or similar to automate building this from all the directories
|
# TODO - use Jsonnet or similar to automate building this from all the directories
|
||||||
# (and pull out the common config)
|
# (and pull out the common config)
|
||||||
apiVersion: argoproj.io/v1alpha1
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user