From b425779dd07f799bd00c3c8ac85fa87f1695fbc8 Mon Sep 17 00:00:00 2001 From: Remi PLANEL <rplanel@pasteur.fr> Date: Wed, 20 Mar 2024 16:21:45 +0100 Subject: [PATCH] test ceph --- deploy/df-wiki/templates/deployment.yaml | 5 +++++ deploy/df-wiki/templates/pvc-structure-ceph.yaml | 14 ++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 deploy/df-wiki/templates/pvc-structure-ceph.yaml diff --git a/deploy/df-wiki/templates/deployment.yaml b/deploy/df-wiki/templates/deployment.yaml index fbb5031e..9542cf36 100644 --- a/deploy/df-wiki/templates/deployment.yaml +++ b/deploy/df-wiki/templates/deployment.yaml @@ -56,6 +56,8 @@ spec: mountPath: /etc/nginx/conf.d/ - name: structure-data-pvc mountPath: /usr/share/nginx/html + - name: structure-data-ceph + mountPath: /test-ceph - name: website-pvc mountPath: /website @@ -81,6 +83,9 @@ spec: - name: structure-data-pvc persistentVolumeClaim: claimName: structure-data-pvc + - name: structure-data-ceph + persistentVolumeClaim: + claimName: structure-data-ceph - name: website-pvc persistentVolumeClaim: claimName: website-pvc diff --git a/deploy/df-wiki/templates/pvc-structure-ceph.yaml b/deploy/df-wiki/templates/pvc-structure-ceph.yaml new file mode 100644 index 00000000..521bb420 --- /dev/null +++ b/deploy/df-wiki/templates/pvc-structure-ceph.yaml @@ -0,0 +1,14 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: structure-data-ceph + annotations: + "helm.sh/resource-policy": keep +spec: + accessModes: + - ReadWriteMany + resources: + requests: + storage: 3Gi + storageClassName: ceph-block + volumeMode: Filesystem \ No newline at end of file -- GitLab