Good day everyone. I am trying to resize a pvc as...
# longhorn-storage
l
Good day everyone. I am trying to resize a pvc as per the longhorn docs, but when I do I get the following. I was editing the manifest for the pvc to increase the size. I can see the pv in the longhorn ui, when I look at the options, expantion is grayed out. So it looks like expansion is not permitted. Here is what the storage class looks like
Copy code
apiVersion: <http://storage.k8s.io/v1|storage.k8s.io/v1>
kind: StorageClass
metadata:
  name: longhorn
  annotations:
    <http://longhorn.io/last-applied-configmap|longhorn.io/last-applied-configmap>: >
      kind: StorageClass
      apiVersion: <http://storage.k8s.io/v1|storage.k8s.io/v1>
      metadata:
        name: longhorn
      provisioner: <http://driver.longhorn.io|driver.longhorn.io>
      allowVolumeExpansion: true
      reclaimPolicy: Delete
      volumeBindingMode: Immediate
      parameters:
        fsType: "ext4"
        numberOfReplicas: "2"
        staleReplicaTimeout: "2880"
provisioner: <http://driver.longhorn.io|driver.longhorn.io>
parameters:
  fsType: ext4
  numberOfReplicas: '2'
  staleReplicaTimeout: '2880'
reclaimPolicy: Delete
allowVolumeExpansion: true
volumeBindingMode: Immediate
I am not sure where to look next. Google Foo doesn't help.. yet