Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(prometheus): enable volsync #111

Closed
wants to merge 1 commit into from
Closed

Conversation

martinohmann
Copy link
Owner

No description provided.

@github-actions github-actions bot added the area/kubernetes Changes made in the kubernetes directory label Dec 17, 2023
Copy link

--- kubernetes/apps/monitoring/kube-prometheus-stack/app Kustomization: flux-system/kube-prometheus-stack ReplicationSource: monitoring/prometheus

+++ kubernetes/apps/monitoring/kube-prometheus-stack/app Kustomization: flux-system/kube-prometheus-stack ReplicationSource: monitoring/prometheus

@@ -0,0 +1,35 @@

+---
+apiVersion: volsync.backube/v1alpha1
+kind: ReplicationSource
+metadata:
+  labels:
+    kustomize.toolkit.fluxcd.io/name: kube-prometheus-stack
+    kustomize.toolkit.fluxcd.io/namespace: flux-system
+  name: prometheus
+  namespace: monitoring
+spec:
+  restic:
+    accessModes:
+    - ReadWriteOnce
+    cacheAccessModes:
+    - ReadWriteOnce
+    cacheCapacity: 1Gi
+    cacheStorageClassName: local-path
+    copyMethod: Snapshot
+    moverSecurityContext:
+      fsGroup: 2000
+      runAsGroup: 2000
+      runAsNonRoot: true
+      runAsUser: 1000
+    pruneIntervalDays: 7
+    repository: prometheus-volsync
+    retain:
+      daily: 7
+      monthly: 6
+      weekly: 4
+    storageClassName: longhorn
+    volumeSnapshotClassName: longhorn
+  sourcePVC: prometheus-kube-prometheus-stack-db-prometheus-kube-prometheus-stack-0
+  trigger:
+    schedule: 30 2 * * *
+

@martinohmann
Copy link
Owner Author

Probably not going to do this.

@martinohmann martinohmann deleted the volsync/prometheus branch December 20, 2023 21:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/kubernetes Changes made in the kubernetes directory
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant