1
0
mirror of https://github.com/ceph/ceph-csi.git synced 2024-12-27 15:30:23 +00:00
ceph-csi/examples/rbd/block-pod-clone.yaml

18 lines
364 B
YAML
Raw Normal View History

---
apiVersion: v1
kind: Pod
metadata:
name: pod-with-block-volume-clone
spec:
containers:
- name: centos
image: quay.io/centos/centos:latest
command: ["/bin/sleep", "infinity"]
volumeDevices:
- name: data
devicePath: /dev/xvda
volumes:
- name: data
persistentVolumeClaim:
claimName: block-pvc-clone