From 8852ee9a90189ea27471bbc83207f84318463a83 Mon Sep 17 00:00:00 2001 From: Philip Haupt <“der.mad.mob@gmail.com”> Date: Sun, 6 Apr 2025 15:13:30 +0200 Subject: [PATCH] fix url #2 --- sc/openebs-3-replicas.yaml | 3 ++- transfer/transfer-pod.yaml | 29 +++++++++++++++++++++++++++++ velero/main.yaml | 2 +- 3 files changed, 32 insertions(+), 2 deletions(-) create mode 100644 transfer/transfer-pod.yaml diff --git a/sc/openebs-3-replicas.yaml b/sc/openebs-3-replicas.yaml index ae3c3b1..7a6a6f6 100644 --- a/sc/openebs-3-replicas.yaml +++ b/sc/openebs-3-replicas.yaml @@ -8,4 +8,5 @@ parameters: protocol: nvmf repl: "3" provisioner: io.openebs.csi-mayastor -reclaimPolicy: Retain \ No newline at end of file +reclaimPolicy: Retain +allowVolumeExpansion: true \ No newline at end of file diff --git a/transfer/transfer-pod.yaml b/transfer/transfer-pod.yaml new file mode 100644 index 0000000..ee6ccf3 --- /dev/null +++ b/transfer/transfer-pod.yaml @@ -0,0 +1,29 @@ +--- +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: uptime-kuma-pvc +spec: + accessModes: + - ReadWriteOnce + storageClassName: openebs-3-replicas + resources: + requests: + storage: 1Gi +--- +apiVersion: v1 +kind: Pod +metadata: + name: nfs-transfer-pod +spec: + containers: + - name: busybox + image: busybox + command: [ "sleep", "3600" ] # Damit der Pod nicht sofort beendet wird + volumeMounts: + - mountPath: /mnt/nas + name: transfer + volumes: + - name: transfer + persistentVolumeClaim: + claimName: uptime-kuma-pvc \ No newline at end of file diff --git a/velero/main.yaml b/velero/main.yaml index bbb43bb..41a2efe 100644 --- a/velero/main.yaml +++ b/velero/main.yaml @@ -3658,7 +3658,7 @@ spec: config: region: nas s3ForcePathStyle: "true" - s3Url: http://192.168.10.1:9001 + s3Url: http://192.168.10.1:9000 credential: key: nas-s3 name: secret-s3