Skip to content

Instantly share code, notes, and snippets.

@matisiekpl
Created December 16, 2019 20:22
Show Gist options
  • Select an option

  • Save matisiekpl/c8bcb31fc1ac6054f294d28bf3ffdc8c to your computer and use it in GitHub Desktop.

Select an option

Save matisiekpl/c8bcb31fc1ac6054f294d28bf3ffdc8c to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: PersistentVolume
metadata:
name: pv-1
labels:
type: local
spec:
storageClassName: manual
capacity:
storage: 100Gi
accessModes:
- ReadWriteOnce
hostPath:
path: "/mnt/data/pv-1"
---
apiVersion: v1
kind: PersistentVolume
metadata:
name: pv-2
labels:
type: local
spec:
storageClassName: manual
capacity:
storage: 100Gi
accessModes:
- ReadWriteOnce
hostPath:
path: "/mnt/data/pv-2"
---
apiVersion: v1
kind: PersistentVolume
metadata:
name: pv-3
labels:
type: local
spec:
storageClassName: manual
capacity:
storage: 100Gi
accessModes:
- ReadWriteOnce
hostPath:
path: "/mnt/data/pv-3"
---
apiVersion: v1
kind: PersistentVolume
metadata:
name: pv-4
labels:
type: local
spec:
storageClassName: manual
capacity:
storage: 100Gi
accessModes:
- ReadWriteOnce
hostPath:
path: "/mnt/data/pv-4"
---
apiVersion: v1
kind: PersistentVolume
metadata:
name: pv-5
labels:
type: local
spec:
storageClassName: manual
capacity:
storage: 100Gi
accessModes:
- ReadWriteOnce
hostPath:
path: "/mnt/data/pv-5"
---
apiVersion: v1
kind: PersistentVolume
metadata:
name: pv-6
labels:
type: local
spec:
storageClassName: manual
capacity:
storage: 100Gi
accessModes:
- ReadWriteOnce
hostPath:
path: "/mnt/data/pv-6"
---
apiVersion: v1
kind: PersistentVolume
metadata:
name: pv-7
labels:
type: local
spec:
storageClassName: manual
capacity:
storage: 100Gi
accessModes:
- ReadWriteOnce
hostPath:
path: "/mnt/data/pv-7"
---
apiVersion: v1
kind: PersistentVolume
metadata:
name: pv-8
labels:
type: local
spec:
storageClassName: manual
capacity:
storage: 100Gi
accessModes:
- ReadWriteOnce
hostPath:
path: "/mnt/data/pv-8"
---
apiVersion: v1
kind: PersistentVolume
metadata:
name: pv-9
labels:
type: local
spec:
storageClassName: manual
capacity:
storage: 100Gi
accessModes:
- ReadWriteOnce
hostPath:
path: "/mnt/data/pv-9"
---
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment