<p>I have a statefulset of kafka. I need to expand the disk size, i try wihout succes to use the automatic resize feature of k8s 1.9</p>

<p>Here : <a href="https://kubernetes.io/docs/concepts/storage/persistent-volumes/#expanding-persistent-volumes-claims" rel="nofollow noreferrer">https://kubernetes.io/docs/concepts/storage/persistent-volumes/#expanding-persistent-volumes-claims</a></p>

<p>I did activate feature gates and admission pluging, i think it's work beacause i can succefully change the size of the pvc after the modification.</p>

<p>But nothing happend i have modified the size of the PVC from 50Gi to 250Gi.</p>

<p>The capacity did change everywhere in the pvc, but not on AWS the EBS volume is still 50gb and a df -h in the pod still show 50gb</p>

<p>Did i miss something ? Do i have to manually resize on aws ?</p>

<p>thank you</p>

Guillaume Alouege
<p>That is an alpha feature which has some problems and limitations.</p>

<p>Try to find some information on the Issues on Github which is related to your problem:</p>

<ul>
<li><p><a href="https://github.com/kubernetes/kubernetes/issues/61259" rel="nofollow noreferrer">Support automatic resizing of volumes</a> </p></li>
<li><p><a href="https://github.com/kubernetes/kubernetes/issues/61259" rel="nofollow noreferrer">[pvresize]Display of pvc capacity did not make corresponding changes when pv resized</a></p></li>
</ul>

<p>Also, check that <a href="https://github.com/kubernetes/kubernetes/issues/35941#issuecomment-380442340" rel="nofollow noreferrer">comment</a>, it can be useful:</p>

<blockquote>
  <p>@discordianfish please try EBS PVC resize with 1.10. Currently the user experience of resizing volumes with file systems is not ideal. You will have to edit the pvc and then wait for <code>FileSystemResizePending</code> condition to appear on PVC and then delete and recreate the pod that was using the PVC. If there was no pod using the PVC, then once condition <code>FileSystemResizePending</code> appears on PVC then you will have to start a pod using it for file system resize to finish.</p>
</blockquote>
