mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-24 22:10:23 +00:00
31 lines
674 B
YAML
31 lines
674 B
YAML
|
---
|
||
|
apiVersion: apps/v1
|
||
|
kind: Deployment
|
||
|
metadata:
|
||
|
name: pod-block-rx-volume
|
||
|
labels:
|
||
|
app: pod-block-rx-volume
|
||
|
spec:
|
||
|
replicas: 3
|
||
|
selector:
|
||
|
matchLabels:
|
||
|
app: pod-block-rx-volume
|
||
|
template:
|
||
|
metadata:
|
||
|
labels:
|
||
|
app: pod-block-rx-volume
|
||
|
spec:
|
||
|
containers:
|
||
|
- name: centos
|
||
|
image: quay.io/centos/centos:latest
|
||
|
imagePullPolicy: IfNotPresent
|
||
|
command: ["/bin/sleep", "infinity"]
|
||
|
volumeDevices:
|
||
|
- name: data
|
||
|
devicePath: /dev/xvda
|
||
|
volumes:
|
||
|
- name: data
|
||
|
persistentVolumeClaim:
|
||
|
claimName: raw-block-pvc
|
||
|
readOnly: false
|