ceph-csi/vendor/k8s.io/kubernetes/examples/mysql-wordpress-pd/local-volumes.yaml

28 lines
406 B
YAML
Raw Normal View History

2018-01-09 18:57:14 +00:00
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