mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-23 06:40:23 +00:00
28 lines
406 B
YAML
28 lines
406 B
YAML
|
apiVersion: v1
|
||
|
kind: PersistentVolume
|
||
|
metadata:
|
||
|
name: local-pv-1
|
||
|
labels:
|
||
|
type: local
|
||
|
spec:
|
||
|
capacity:
|
||
|
storage: 20Gi
|
||
|
accessModes:
|
||
|
- ReadWriteOnce
|
||
|
hostPath:
|
||
|
path: /tmp/data/pv-1
|
||
|
---
|
||
|
apiVersion: v1
|
||
|
kind: PersistentVolume
|
||
|
metadata:
|
||
|
name: local-pv-2
|
||
|
labels:
|
||
|
type: local
|
||
|
spec:
|
||
|
capacity:
|
||
|
storage: 20Gi
|
||
|
accessModes:
|
||
|
- ReadWriteOnce
|
||
|
hostPath:
|
||
|
path: /tmp/data/pv-2
|