mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-09-17 18:22:54 +02:00
Change schedule backup
This commit is contained in:
@@ -0,0 +1 @@
|
||||
Example container to restore files. See `Obsidian > Cluster > Restore longhorn backup` for more
|
||||
@@ -0,0 +1,30 @@
|
||||
kind: Deployment
|
||||
apiVersion: apps/v1
|
||||
metadata:
|
||||
name: restore-ubuntu
|
||||
labels:
|
||||
app: restore-ubuntu
|
||||
# namespace: immich # edit in apps folder
|
||||
# docker run -d --restart=always -p 3001:3001 -v uptime-kuma:/app/data --name uptime-kuma louislam/uptime-kuma:1
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: restore-ubuntu
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: restore-ubuntu
|
||||
spec:
|
||||
containers:
|
||||
- name: restore-ubuntu
|
||||
image: ubuntu:plucky
|
||||
volumeMounts:
|
||||
- name: restorevol
|
||||
mountPath: /mnt/restorevol/
|
||||
command: [ "/bin/bash", "-c", "--" ] # Let container sleep, so it does not close because of 'completion'
|
||||
args: [ "while true; do sleep 30; done;" ]
|
||||
volumes:
|
||||
- name: restorevol
|
||||
persistentVolumeClaim:
|
||||
claimName: backupofimmich
|
||||
Reference in New Issue
Block a user