Skip to content

Instantly share code, notes, and snippets.

@nitisht
Last active December 14, 2016 17:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nitisht/2f55d9bc3425b7e1679d3f52d9020df3 to your computer and use it in GitHub Desktop.
Save nitisht/2f55d9bc3425b7e1679d3f52d9020df3 to your computer and use it in GitHub Desktop.
Persistent Volume based on GCE Disk
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