Files
kubernetes/restic-exporter/kustomization.yaml
Dustin C. Hatch 5079599423 restic-exporter: Deploy Restic Prometheus exporter
The [restic-exporter][0] exposes metrics about Restic snapshots as
Prometheus metrics.  This allows us to get similar data as we have for
BURP backups.  Chiefly important among the metrics are last backup time
and size, which we can use to determine if backups are working
correctly.

[0]: https://github.com/ngosang/restic-exporter
2024-06-26 18:29:49 -05:00

37 lines
673 B
YAML

apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: restic-exporter
labels:
- pairs:
app.kubernetes.io/instance: restic-exporter
resources:
- namespace.yaml
- network-policy.yaml
- restic-exporter.yaml
- secrets.yaml
configMapGenerator:
- name: restic-exporter
envs:
- restic-exporter.env
patches:
- patch: |-
apiVersion: apps/v1
kind: Deployment
metadata:
name: restic-exporter
spec:
template:
spec:
containers:
- name: restic-exporter
envFrom:
- secretRef:
name: restic-s3
- configMapRef:
name: restic-exporter