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-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