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
|