Merge branch 'main' of git.hsn.dev:jahanson/homelab
This commit is contained in:
commit
599d0f9790
9 changed files with 33 additions and 14 deletions
|
@ -8,4 +8,3 @@ resources:
|
||||||
# Flux-Kustomizations
|
# Flux-Kustomizations
|
||||||
- ./crunchy-postgres-operator/ks.yaml
|
- ./crunchy-postgres-operator/ks.yaml
|
||||||
- ./dragonfly/ks.yaml
|
- ./dragonfly/ks.yaml
|
||||||
- ./redis/ks.yaml
|
|
||||||
|
|
|
@ -154,12 +154,6 @@ spec:
|
||||||
gnetId: 1860
|
gnetId: 1860
|
||||||
revision: 33
|
revision: 33
|
||||||
datasource: Prometheus
|
datasource: Prometheus
|
||||||
redis:
|
|
||||||
# renovate: depName="Redis Dashboard for Prometheus Redis Exporter 1.x"
|
|
||||||
gnetId: 763
|
|
||||||
revision: 6
|
|
||||||
datasource:
|
|
||||||
- { name: DS_PROMETHEUS, value: Prometheus }
|
|
||||||
spegel:
|
spegel:
|
||||||
# renovate: depName="Spegel"
|
# renovate: depName="Spegel"
|
||||||
gnetId: 18089
|
gnetId: 18089
|
||||||
|
@ -177,6 +171,10 @@ spec:
|
||||||
gnetId: 7845
|
gnetId: 7845
|
||||||
revision: 4
|
revision: 4
|
||||||
datasource: Prometheus
|
datasource: Prometheus
|
||||||
|
dragonflydb:
|
||||||
|
url: https://raw.githubusercontent.com/dragonflydb/dragonfly/main/tools/local/monitoring/grafana/provisioning/dashboards/dashboard.json
|
||||||
|
datasource:
|
||||||
|
- { name: DS_PROMETHEUS, value: Prometheus }
|
||||||
cert-manager:
|
cert-manager:
|
||||||
url: https://raw.githubusercontent.com/monitoring-mixins/website/master/assets/cert-manager/dashboards/cert-manager.json
|
url: https://raw.githubusercontent.com/monitoring-mixins/website/master/assets/cert-manager/dashboards/cert-manager.json
|
||||||
datasource: Prometheus
|
datasource: Prometheus
|
||||||
|
|
|
@ -6,7 +6,8 @@ resources:
|
||||||
- ./externalsecret.yaml
|
- ./externalsecret.yaml
|
||||||
- ./helmrelease.yaml
|
- ./helmrelease.yaml
|
||||||
- ./prometheusrules
|
- ./prometheusrules
|
||||||
# - ./scrapeconfigs
|
- ./scrapeconfigs
|
||||||
|
- ./podmonitors
|
||||||
configMapGenerator:
|
configMapGenerator:
|
||||||
- name: alertmanager-config-tpl
|
- name: alertmanager-config-tpl
|
||||||
files:
|
files:
|
||||||
|
|
|
@ -0,0 +1,19 @@
|
||||||
|
---
|
||||||
|
# yaml-language-server: $schema=https://ks.hsn.dev/monitoring.coreos.com/podmonitor_v1.json
|
||||||
|
apiVersion: monitoring.coreos.com/v1
|
||||||
|
kind: PodMonitor
|
||||||
|
metadata:
|
||||||
|
name: dragonflydb-metrics
|
||||||
|
namespace: database
|
||||||
|
spec:
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app.kubernetes.io/name: dragonfly
|
||||||
|
app: dragonfly
|
||||||
|
podTargetLabels:
|
||||||
|
- app
|
||||||
|
namespaceSelector:
|
||||||
|
matchNames:
|
||||||
|
- database
|
||||||
|
podMetricsEndpoints:
|
||||||
|
- port: admin
|
|
@ -0,0 +1,6 @@
|
||||||
|
---
|
||||||
|
# yaml-language-server: $schema=https://json.schemastore.org/kustomization
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- ./dragonflydb.yaml
|
|
@ -51,12 +51,8 @@ spec:
|
||||||
config: &config |-
|
config: &config |-
|
||||||
type: REDIS
|
type: REDIS
|
||||||
config:
|
config:
|
||||||
addr: >-
|
addr: dragonfly.database.svc.cluster.local:6379
|
||||||
redis-node-0.redis-headless.database.svc.cluster.local:26379,
|
db: 2
|
||||||
redis-node-1.redis-headless.database.svc.cluster.local:26379,
|
|
||||||
redis-node-2.redis-headless.database.svc.cluster.local:26379
|
|
||||||
db: 13
|
|
||||||
master_name: redis-master
|
|
||||||
ingress:
|
ingress:
|
||||||
enabled: true
|
enabled: true
|
||||||
ingressClassName: internal-nginx
|
ingressClassName: internal-nginx
|
||||||
|
|
Loading…
Reference in a new issue