<p>I'd like to expand my PVC storage, but it does not expand and gives me this error:</p>
<pre><code>kubectl patch pvc/&quot;data-mongodb-0&quot; -p='{&quot;spec&quot;: {&quot;resources&quot;: {&quot;requests&quot;: {&quot;storage&quot;: &quot;110Gi&quot;}}}}'
</code></pre>
<p>Describe of PVC:</p>
<pre><code>Events:
  Type     Reason             Age   From           Message
  ----     ------             ----  ----           -------
  Warning  ExternalExpanding  26s   volume_expand  Ignoring the PVC: didn't find a plugin capable of expanding the volume; waiting for an external controller to process this PVC.
</code></pre>
<p>I have my storage class <code>allowVolumeExpansion</code> true. This is basically an AWS EFS storage. I tested it and there is no issues expanding EBS volumes but cannot do it with the EFS ones. Any workarounds to make this happen?</p>
<p>PVC spec:</p>
<pre><code>spec:
  accessModes:
  - ReadWriteOnce
  resources:
    requests:
      storage: 100G
  storageClassName: aws-efs
  volumeMode: Filesystem
  volumeName: pvc-cea0000c-0000-4520-bac0-000000000
status:
  accessModes:
  - ReadWriteOnce
  capacity:
    storage: 100G
  phase: Bound
</code></pre>
<p>StorageClass:</p>
<pre><code>allowVolumeExpansion: true
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
  name: aws-efs
provisioner: mongodb/aws-efs
reclaimPolicy: Retain
volumeBindingMode: Immediate
</code></pre>

titanic
<p>AWS EFS does not support <code>allowVolumeExpansion</code> mainly because the mounted volume has a logical size of 8 exabytes which means unlimited. There's no need to expand the volume.</p>
