mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-21 12:30:24 +00:00
18 lines
361 B
YAML
18 lines
361 B
YAML
|
---
|
||
|
apiVersion: v1
|
||
|
kind: Pod
|
||
|
metadata:
|
||
|
name: csi-rbd-demo-rwop-pod
|
||
|
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: raw-block-rwop-pvc
|