I'd like to run several stateful applications (such as MongoDB, Kafka, etc.). All of them recommend using XFS as file system, however I don't know how I can ensure the creation of a XFS file system in Google's Kubernetes Engine / Google Cloud Compute Engine.
I usually deploy my applications with a helm chart and I couldn't find any hints that it would take care of the XFS filesystem for me either.
Question:
Can someone explain me how I can ensure the creation of XFS volumes in GKE / GCE / Kubernetes?
At the moment using XFS as file system on Google's Kubernetes Engine is not supported, but there is a feature request to enable Support XFS on Container-Optimized OS (when choosing COS). Therefore, you can choose Ubuntu node image for your XFS needs, check this link.