apiVersion: v1
kind: PersistentVolume
metadata:
  name: grpc-demo
spec:
  storageClassName: ""
  capacity:
    storage: 10G
  accessModes:
    - ReadOnlyMany
  gcePersistentDisk:
    pdName: istio-poc-disk
    fsType: ext4
  #---
  #apiVersion: v1
  #kind: PersistentVolumeClaim
  #metadata:
  #  name: pv-claim-demo
  #spec:
  #  # It's necessary to specify "" as the storageClassName
  #  # so that the default storage class won't be used, see
  #  # https://kubernetes.io/docs/concepts/storage/persistent-volumes/#class-1
  #  storageClassName: ""
  #  volumeName: grpc-demo
  #  accessModes:
  #    - ReadOnlyMany
  #  resources:
  #    requests:
  #      storage: 10G