mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-19 21:00:24 +00:00
e2e: add pod yaml which consume block mode clone pvc
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
This commit is contained in:
parent
157d2aff64
commit
6359e37a23
17
examples/rbd/block-pod-clone.yaml
Normal file
17
examples/rbd/block-pod-clone.yaml
Normal file
@ -0,0 +1,17 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
name: pod-with-block-volume-clone
|
||||
spec:
|
||||
containers:
|
||||
- name: centos
|
||||
image: centos:latest
|
||||
command: ["/bin/sleep", "infinity"]
|
||||
volumeDevices:
|
||||
- name: data
|
||||
devicePath: /dev/xvda
|
||||
volumes:
|
||||
- name: data
|
||||
persistentVolumeClaim:
|
||||
claimName: block-pvc-clone
|
Loading…
Reference in New Issue
Block a user