From 7ec8e68b67c3032140f7b7924ac6f1f937a5818f Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Tue, 21 Jan 2020 11:01:25 +0100 Subject: [PATCH] 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 --- examples/rbd/raw-block-pod.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/examples/rbd/raw-block-pod.yaml b/examples/rbd/raw-block-pod.yaml index c433e98cc..8e8d67357 100644 --- a/examples/rbd/raw-block-pod.yaml +++ b/examples/rbd/raw-block-pod.yaml @@ -5,10 +5,9 @@ metadata: name: pod-with-raw-block-volume spec: containers: - - name: fc-container - image: fedora:26 - command: ["/bin/sh", "-c"] - args: ["tail -f /dev/null"] + - name: centos + image: centos:latest + command: ["/bin/sleep", "infinity"] volumeDevices: - name: data devicePath: /dev/xvda