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
Here : https://kubernetes.io/docs/concepts/storage/persistent-volumes/#expanding-persistent-volumes-claims
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.
But nothing happend i have modified the size of the PVC from 50Gi to 250Gi.
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
Did i miss something ? Do i have to manually resize on aws ?
thank you
That is an alpha feature which has some problems and limitations.
Try to find some information on the Issues on Github which is related to your problem:
Support automatic resizing of volumes
[pvresize]Display of pvc capacity did not make corresponding changes when pv resized
Also, check that comment, it can be useful: