Add block PVC and pod examples

This commit is contained in:
Vitaliy Filippov
2022-04-17 15:43:37 +03:00
parent 8e88f77101
commit 98e3528a14
3 changed files with 47 additions and 0 deletions
+17
View File
@@ -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