mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-23 14:50:24 +00:00
e0ac70f8fb
registry.centos.org is not officially maintained by the CentOS infrastructure team. The container images on quay.io are the official once and we should use those instead. Signed-off-by: Niels de Vos <ndevos@redhat.com>
18 lines
360 B
YAML
18 lines
360 B
YAML
---
|
|
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: pod-with-raw-block-volume
|
|
spec:
|
|
containers:
|
|
- name: centos
|
|
image: quay.io/centos/centos:latest
|
|
command: ["/bin/sleep", "infinity"]
|
|
volumeDevices:
|
|
- name: data
|
|
devicePath: /dev/xvda
|
|
volumes:
|
|
- name: data
|
|
persistentVolumeClaim:
|
|
claimName: raw-block-pvc
|