1
0
mirror of https://github.com/ceph/ceph-csi.git synced 2025-01-14 00:29:51 +00:00
ceph-csi/examples/rbd/raw-block-pod.yaml

19 lines
372 B
YAML
Raw Normal View History

---
apiVersion: v1
kind: Pod
metadata:
name: pod-with-raw-block-volume
spec:
containers:
- name: fc-container
image: fedora:26
command: ["/bin/sh", "-c"]
args: ["tail -f /dev/null"]
volumeDevices:
- name: data
devicePath: /dev/xvda
volumes:
- name: data
persistentVolumeClaim:
claimName: raw-block-pvc