You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
541 B
31 lines
541 B
apiVersion: v1 |
|
kind: Pod |
|
metadata: |
|
name: busybox-sleep-rbdtest |
|
spec: |
|
containers: |
|
- name: busybox |
|
image: busybox |
|
args: |
|
- sleep |
|
- "1000000" |
|
volumeMounts: |
|
- mountPath: /test |
|
name: testmount |
|
volumes: |
|
- name: testmount |
|
persistentVolumeClaim: |
|
claimName: busybox-pvc-test-rbd |
|
|
|
--- |
|
apiVersion: v1 |
|
kind: PersistentVolumeClaim |
|
metadata: |
|
name: busybox-pvc-test-rbd |
|
spec: |
|
accessModes: |
|
- ReadWriteOnce |
|
resources: |
|
requests: |
|
storage: 100Mi |
|
storageClassName: rook-ceph-block
|
|
|