Add snapshot yaml files and volume clone

capabilities to provisioner.

Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
This commit is contained in:
Madhu Rajanna
2019-01-26 00:40:20 +05:30
parent b71a9bfe40
commit 5b512cd48c
6 changed files with 80 additions and 0 deletions

View File

@ -0,0 +1,17 @@
apiVersion: v1
kind: Pod
metadata:
name: csirbd-restore-demo-pod
spec:
containers:
- name: web-server
image: nginx
volumeMounts:
- name: mypvc
mountPath: /var/lib/www/html
volumes:
- name: mypvc
persistentVolumeClaim:
claimName: rbd-pvc-restore
readOnly: false