feat: nas

This commit is contained in:
auricom
2025-01-28 10:19:10 +01:00
parent 44d6c4a783
commit 62be3d2f9a
9 changed files with 236 additions and 1587 deletions

View File

@@ -47,26 +47,3 @@ spec:
APP: *app
# renovate: datasource=docker depName=quay.io/thanos/thanos
THANOS_VERSION: v0.35.0
---
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/kustomize.toolkit.fluxcd.io/kustomization_v1.json
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: &app kube-prometheus-rules
namespace: flux-system
spec:
targetNamespace: observability
commonMetadata:
labels:
app.kubernetes.io/name: *app
dependsOn:
- name: kube-prometheus-stack
path: ./kubernetes/apps/observability/kube-prometheus-stack/rules
prune: true
sourceRef:
kind: GitRepository
name: home-ops-kubernetes
wait: false
interval: 30m
retryInterval: 1m
timeout: 5m

View File

@@ -1,6 +0,0 @@
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/SchemaStore/schemastore/master/src/schemas/json/kustomization.json
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./zfs.yaml

View File

@@ -1,17 +0,0 @@
---
apiVersion: monitoring.coreos.com/v1
kind: PrometheusRule
metadata:
name: zrepl-replication-errors
spec:
groups:
- name: zrepl.rules
rules:
- alert: ZreplReplicationFilesystemErrors
expr: zrepl_replication_filesystem_errors > 0
for: 15m # Alert if the condition persists for 15 minutes
labels:
severity: warning
annotations:
summary: "Zrepl replication filesystem errors detected"
description: "Zrepl job {{ $labels.zrepl_job }} has encountered filesystem errors during replication."