mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-24 07:10:20 +00:00
ef74050af2
and pod to mount it Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
19 lines
372 B
YAML
19 lines
372 B
YAML
---
|
|
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
|