update home assistant and fix prometheus
This commit is contained in:
@@ -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.
|
15
infrastructure/backup/README.md
Normal file
15
infrastructure/backup/README.md
Normal 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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user