Skip to content

Commit

Permalink
feat(monitoring): enable monitoring
Browse files Browse the repository at this point in the history
  • Loading branch information
mrsimonemms committed Nov 14, 2024
1 parent f84a6a8 commit 93d684c
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 0 deletions.
46 changes: 46 additions & 0 deletions registry/components/monitoring/application.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: monitoring
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: "10"
spec:
project: default
source:
chart: kube-prometheus-stack
repoURL: https://prometheus-community.github.io/helm-charts
targetRevision: 66.1.1
helm:
valuesObject:
grafana:
ingress:
enabled: true
annotations:
kubernetes.io/tls-acme: "true"
cert-manager.io/cluster-issuer: letsencrypt-staging
gethomepage.dev/description: Grafana Dashboards
gethomepage.dev/enabled: "true"
gethomepage.dev/group: Cluster Management
gethomepage.dev/icon: grafana
gethomepage.dev/name: Grafana
ingressClassName: nginx
hosts:
- monitoring.dev.simonemms.com
tls:
- hosts:
- monitoring.dev.simonemms.com
secretName: monitoring-tls
sidecar:
dashboards:
enabled: true
destination:
server: https://kubernetes.default.svc
namespace: monitoring
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
- ServerSideApply=true
5 changes: 5 additions & 0 deletions registry/components/monitoring/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- application.yaml
- namespace.yaml
6 changes: 6 additions & 0 deletions registry/components/monitoring/namespace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
apiVersion: v1
kind: Namespace
metadata:
name: monitoring
annotations:
argocd.argoproj.io/sync-wave: "-1"

0 comments on commit 93d684c

Please sign in to comment.