<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>I made the feature work, but in a very very dirty way. </p>

<ol>
<li>Modify the size of the PVC</li>
<li>Modify the size of the EBS manually</li>
<li>Force unmount the volume on AWS</li>
<li>The pod crash and is
rescheduled by the statefullset, when the pod is up again the volume and partition have the correct size</li>
</ol>
