Switch to use feiniu fns

This commit is contained in:
2025-10-15 22:08:42 +11:00
parent 354f02480c
commit c71c3299be
2 changed files with 33 additions and 4 deletions
+31 -2
View File
@@ -1,3 +1,33 @@
apiVersion: v1
kind: PersistentVolume
metadata:
name: feiniu-data-nfs
spec:
capacity:
storage: 300Gi
accessModes:
- ReadWriteMany
nfs:
server: 192.168.1.5
path: "/fs/1000/nfs/data"
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: "feiniu-data-nfs"
namespace: media
spec:
storageClassName: ""
volumeName: feiniu-data-nfs
accessModes:
- ReadWriteMany
resources:
requests:
storage: 300Gi
---
apiVersion: apps/v1
kind: Deployment
metadata:
@@ -18,7 +48,7 @@ spec:
volumes:
- name: downloads
persistentVolumeClaim:
claimName: downloads-nfs
claimName: feiniu-data-nfs
containers:
- name: static-file-server
image: mirror.gcr.io/caddy:2
@@ -35,7 +65,6 @@ spec:
value: Australia/Melbourne
volumeMounts:
- name: downloads
subPath: ftp
mountPath: /www
resources:
requests:
+2 -2
View File
@@ -218,9 +218,9 @@ sudo apt install kubeadm=1.27.6-00
# Datadog crash probably related to redis, please make sure redis is healthy
### Restore files from nas
### Restore files from nas, with progress
rsync -chavzP --stats rsync://junv@192.168.1.4/backups/192.168.1.2/redis /mnt/k8s
rsync -havzP --stats rsync://junv@192.168.1.4/backups/192.168.1.2/redis /mnt/k8s
# Disk full