mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-23 21:40:20 +00:00
18 lines
349 B
YAML
18 lines
349 B
YAML
|
---
|
||
|
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
|