mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-24 14:00:19 +00:00
7ec8e68b67
Fedora 26 has been End-Of-Life for a long time already, is should not be used anymore. Instead use the latest CentOS image that gets regular updates. The Ceph base image used by Ceph-CSI is also based on CentOS, so uses would be familiar with the available tools. Also use "sleep infinity" instead of a weird 'tail -f /dev/null' hack. Signed-off-by: Niels de Vos <ndevos@redhat.com>
18 lines
345 B
YAML
18 lines
345 B
YAML
---
|
|
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: pod-with-raw-block-volume
|
|
spec:
|
|
containers:
|
|
- name: centos
|
|
image: centos:latest
|
|
command: ["/bin/sleep", "infinity"]
|
|
volumeDevices:
|
|
- name: data
|
|
devicePath: /dev/xvda
|
|
volumes:
|
|
- name: data
|
|
persistentVolumeClaim:
|
|
claimName: raw-block-pvc
|