Last active
December 14, 2016 17:02
-
-
Save nitisht/2f55d9bc3425b7e1679d3f52d9020df3 to your computer and use it in GitHub Desktop.
Persistent Volume based on GCE Disk
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: minio-pv-1 | |
spec: | |
# Size of your PV | |
capacity: | |
# This is limited by the size of GCE Persistent disk. | |
# For example, to create a 10 TB backend, uncomment below line | |
# storage: 10Ti | |
storage: 10Gi | |
# Learn more here: http://kubernetes.io/docs/user-guide/persistent-volumes/#access-modes | |
accessModes: | |
- ReadWriteOnce | |
# Indicates | |
gcePersistentDisk: | |
# Name of the GCE persistent disk. | |
pdName: minio-1 | |
fsType: ext4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment