mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-17 20:00:23 +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
|