diff --git a/csi/deploy/example-pvc-block.yaml b/csi/deploy/example-pvc-block.yaml new file mode 100644 index 00000000..8b83caf9 --- /dev/null +++ b/csi/deploy/example-pvc-block.yaml @@ -0,0 +1,13 @@ +--- +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: test-vitastor-pvc-block +spec: + storageClassName: vitastor + volumeMode: Block + accessModes: + - ReadWriteMany + resources: + requests: + storage: 10Gi diff --git a/csi/deploy/example-test-pod-block.yaml b/csi/deploy/example-test-pod-block.yaml new file mode 100644 index 00000000..d3aacb3a --- /dev/null +++ b/csi/deploy/example-test-pod-block.yaml @@ -0,0 +1,17 @@ +apiVersion: v1 +kind: Pod +metadata: + name: vitastor-test-block-pvc + namespace: default +spec: + containers: + - name: vitastor-test-block-pvc + image: nginx + volumeDevices: + - name: data + devicePath: /dev/xvda + volumes: + - name: data + persistentVolumeClaim: + claimName: test-vitastor-pvc-block + readOnly: false diff --git a/csi/deploy/example-test-pod.yaml b/csi/deploy/example-test-pod.yaml new file mode 100644 index 00000000..df1aad70 --- /dev/null +++ b/csi/deploy/example-test-pod.yaml @@ -0,0 +1,17 @@ +apiVersion: v1 +kind: Pod +metadata: + name: vitastor-test-nginx + namespace: default +spec: + containers: + - name: vitastor-test-nginx + image: nginx + volumeMounts: + - mountPath: /usr/share/nginx/html/s3 + name: data + volumes: + - name: data + persistentVolumeClaim: + claimName: test-vitastor-pvc + readOnly: false