mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-18 02:50:30 +00:00
18 lines
367 B
YAML
18 lines
367 B
YAML
|
---
|
||
|
apiVersion: v1
|
||
|
kind: Pod
|
||
|
metadata:
|
||
|
name: pod-block-volume-restore
|
||
|
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: rbd-block-pvc-restore
|