mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-26 08:10:20 +00:00
examples/rbd-block: use a container image that is supported
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>
This commit is contained in:
parent
520ceb6dcb
commit
7ec8e68b67
@ -5,10 +5,9 @@ metadata:
|
|||||||
name: pod-with-raw-block-volume
|
name: pod-with-raw-block-volume
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: fc-container
|
- name: centos
|
||||||
image: fedora:26
|
image: centos:latest
|
||||||
command: ["/bin/sh", "-c"]
|
command: ["/bin/sleep", "infinity"]
|
||||||
args: ["tail -f /dev/null"]
|
|
||||||
volumeDevices:
|
volumeDevices:
|
||||||
- name: data
|
- name: data
|
||||||
devicePath: /dev/xvda
|
devicePath: /dev/xvda
|
||||||
|
Loading…
Reference in New Issue
Block a user