X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=deploy%2Faddons%2Fopenebs-cstor.yaml;fp=deploy%2Faddons%2Fopenebs-cstor.yaml;h=d3283a3f9f85123fc677ff6e940ac4943a23a74f;hb=216a1438e33a9aba1086e2252f24cadc26362851;hp=0000000000000000000000000000000000000000;hpb=8406415c694ff351c512fddf3be2880fce7686f1;p=icn.git diff --git a/deploy/addons/openebs-cstor.yaml b/deploy/addons/openebs-cstor.yaml new file mode 100644 index 0000000..d3283a3 --- /dev/null +++ b/deploy/addons/openebs-cstor.yaml @@ -0,0 +1,32 @@ +--- +kind: PersistentVolumeClaim +apiVersion: v1 +metadata: + name: cstor-csi-disk-pvc +spec: + storageClassName: cstor-csi-disk + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 5G +--- +apiVersion: v1 +kind: Pod +metadata: + name: hello-cstor-csi-disk-pod +spec: + volumes: + - name: pod-volume + persistentVolumeClaim: + claimName: cstor-csi-disk-pvc + containers: + - name: hello-container + image: busybox + command: + - sh + - -c + - 'while true; do echo "`date` [`hostname`] Hello from OpenEBS Local PV." >> /mnt/store/greet.txt; sleep $(($RANDOM % 5 + 300)); done' + volumeMounts: + - mountPath: /mnt/store + name: pod-volume