GKE+Helm: Increasing persistent volume claim size

932 views
Skip to first unread message

Matthew Cooper

unread,
Aug 19, 2018, 2:34:07 AM8/19/18
to kubernet...@googlegroups.com
Hi all,

I am deploying an application with Helm on Google Kubernetes Engine. In the future, the persistent volumes will likely need to grow. What should I be doing now to ensure smooth storage increases with minimal downtime to the application? What concerns regarding reclaim policy do I have for this?

Help is greatly appreciated as this application is needed quickly.


Thanks,
Matt


Michelle Au

unread,
Aug 20, 2018, 6:01:52 PM8/20/18
to Kubernetes user discussion and Q&A
Hi Matt,

In Kubernetes 1.11, the volume resizing feature is available in beta: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#expanding-persistent-volumes-claims.  Changing the PVC size will trigger the resizing of the GCE PD disk.  Once that is complete, then you need to restart your Pod using that PVC in order to trigger a filesystem resize (automatic fs resize is currently an alpha feature).  This resize feature is independent of reclaim policy.  Please let me know if you have any further questions.

Thanks,
Michelle

--
You received this message because you are subscribed to the Google Groups "Kubernetes user discussion and Q&A" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-use...@googlegroups.com.
To post to this group, send email to kubernet...@googlegroups.com.
Visit this group at https://groups.google.com/group/kubernetes-users.
For more options, visit https://groups.google.com/d/optout.

Matthew Cooper

unread,
Aug 21, 2018, 3:03:30 AM8/21/18
to kubernet...@googlegroups.com
Thank you.

If I upgrade my cluster to V1.11 and use this feature, how does the process interact with using Helm. I'm not a seasoned expert so I'm not sure exactly what sequence I should follow to resize the file system on pods. Any examples around?
Reply all
Reply to author
Forward
0 new messages