charts: add prometheus and grafana
Anirudh Oppiliappan x@icyphox.sh
Mon, 08 Jul 2024 00:46:10 +0300
4 files changed,
35 insertions(+),
2 deletions(-)
M
apps/coredns/coredns.yaml
→
apps/coredns/coredns.yaml
@@ -2,13 +2,13 @@ apiVersion: v1
data: koti.lan.server: | koti.lan:53 { + log kubernetes koti.lan rewrite name dav.koti.lan radicale.default.svc.koti.lan rewrite name rss.koti.lan yarr.default.svc.koti.lan + rewrite name g.koti.lan grafana.monitoring.svc.koti.lan } - - import /etc/coredns/custom/*.server kind: ConfigMap metadata: name: coredns-custom
A
charts/grafana.yaml
@@ -0,0 +1,16 @@
+apiVersion: helm.cattle.io/v1 +kind: HelmChart +metadata: + name: grafana + namespace: monitoring +spec: + repo: https://grafana.github.io/helm-charts + chart: grafana + targetNamespace: monitoring + valuesContent: |- + grafana.ini: + auth: + anonymous: + enabled: true + org_name: koti +
A
charts/prometheus.yaml
@@ -0,0 +1,16 @@
+apiVersion: helm.cattle.io/v1 +kind: HelmChart +metadata: + name: prometheus + namespace: monitoring +spec: + repo: https://prometheus-community.github.io/helm-charts + chart: prometheus + targetNamespace: monitoring + valuesContent: |- + alertManager: + enabled: false + kube-state-metrics: + enabled: false + prometheus-pushgateway: + enabled: false