update home assistant and fix prometheus

This commit is contained in:
2024-04-06 14:12:07 +02:00
parent bc0f29f028
commit a6a9c7c217
6 changed files with 24 additions and 29 deletions

View File

@@ -12,7 +12,9 @@ spec:
destination:
server: https://kubernetes.default.svc
namespace: argocd
syncPolicy:
automated:
prune: true
# selfHeal: true
# syncPolicy:
# automated:
# prune: true
# selfHeal: false
# DO NOT AUTO SYNC THE APP OF APPS.
# all other apps are auto-synced, but adding new apps should be done manually.

View File

@@ -0,0 +1,15 @@
# How to restore
1. Port forward the rest api for gcloud
```bash
kubectl port-forward -n backup service/rclone-gcloud 8000
```
2. Load the snapshots locally
```bash
restic -r rest:http://127.0.0.1:8000/kluster mount /mnt/restic
```
(The password is in a secret)
3. Copy relevant files to the correct location on the NAS

View File

@@ -39,7 +39,7 @@ roleRef:
subjects:
- kind: ServiceAccount
name: prometheus
namespace: monitoring # needs to be the same as in the kustomization.yaml
namespace: prometheus # needs to be the same as in the kustomization.yaml
---
apiVersion: monitoring.coreos.com/v1
kind: Prometheus