Created
October 13, 2021 06:20
-
-
Save bharathirajatut/1a0426e5da2f453af472fbb2c9f35678 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: PersistentVolume | |
metadata: | |
name: local-pv1 | |
spec: | |
storageClassName: local-storage | |
capacity: | |
storage: 1Gi | |
accessModes: | |
- ReadWriteOnce | |
hostPath: | |
path: "/storage/data1" | |
--- | |
apiVersion: v1 | |
kind: PersistentVolume | |
metadata: | |
name: local-pv2 | |
spec: | |
storageClassName: local-storage | |
capacity: | |
storage: 1Gi | |
accessModes: | |
- ReadWriteMany | |
hostPath: | |
path: "/storage/data2" | |
--- | |
apiVersion: v1 | |
kind: PersistentVolume | |
metadata: | |
name: local-pv3 | |
spec: | |
storageClassName: local-storage | |
capacity: | |
storage: 2Gi | |
accessModes: | |
- ReadWriteOnce | |
hostPath: | |
path: "/storage/data3" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment